pycipher:包含许多经典密码算法的python模块

时间:2021-05-23 21:43:35
【文件属性】:
文件名称:pycipher:包含许多经典密码算法的python模块
文件大小:52KB
文件格式:ZIP
更新时间:2021-05-23 21:43:35
Python 密码学 用Python实现的常见经典密码。 可从获得文档。 安装 pip install pycipher 用法示例 >>> from pycipher import ADFGVX >>> adfgvx = ADFGVX(key='PH0QG64MEA1YL2NOFDXKR3CVS5ZW7BJ9UTI8', keyword='GERMAN') >>> adfgvx.encipher("Hello world!") 'FVFDAGXAFFFFGFAGADFG' >>> adfgvx.decipher(_) 'HELLOWORLD' 反馈 该代码托管在GitHub上: : 如果发现任何错误,请提出问题或创建请求请求。 要运行测试套件: python setup.py test
【文件预览】:
pycipher-master
----MANIFEST.in(75B)
----README.rst(660B)
----.gitattributes(483B)
----doc()
--------source()
--------make.bat(5KB)
--------Makefile(5KB)
----setup.py(737B)
----pycipher()
--------railfence.py(2KB)
--------util.py(2KB)
--------atbash.py(2KB)
--------bifid.py(3KB)
--------adfgx.py(2KB)
--------rot13.py(2KB)
--------gronsfeld.py(2KB)
--------autokey.py(2KB)
--------beaufort.py(2KB)
--------foursquare.py(3KB)
--------base.py(900B)
--------playfair.py(3KB)
--------caesar.py(2KB)
--------porta.py(3KB)
--------delastelle.py(2KB)
--------m209.py(6KB)
--------__init__.py(1KB)
--------polybius.py(3KB)
--------vigenere.py(2KB)
--------columnartransposition.py(3KB)
--------simplesubstitution.py(3KB)
--------enigma.py(8KB)
--------adfgvx.py(2KB)
--------affine.py(3KB)
--------fracmorse.py(4KB)
----tests()
--------test_porta.py(1KB)
--------test_affine.py(2KB)
--------test_polybius.py(2KB)
--------test_foursquare.py(1KB)
--------test_gronsfeld.py(1KB)
--------test_beaufort.py(1KB)
--------test_vigenere.py(1KB)
--------test_atbash.py(625B)
--------test_rot13.py(621B)
--------test_playfair.py(2KB)
--------test_adfgvx.py(2KB)
--------__init__.py(176B)
--------test_m209.py(577B)
--------test_railfence.py(1KB)
--------test_simple.py(2KB)
--------test_enigma.py(2KB)
--------test_caesar.py(2KB)
--------test_bifid.py(1KB)
--------test_adfgx.py(2KB)
--------test_autokey.py(1KB)
--------test_coltrans.py(1KB)
----.gitignore(571B)
----license.txt(1KB)

网友评论