Vigenere-Cipher:使用Vigenere Cipher加密字符串

时间:2021-04-11 15:59:56
【文件属性】:
文件名称:Vigenere-Cipher:使用Vigenere Cipher加密字符串
文件大小:9KB
文件格式:ZIP
更新时间:2021-04-11 15:59:56
Python Vigenere密码 Vigenere密码是一种基于关键字的字母,通过使用一系列交织的Caesar密码来加密字母文本的方法。 它采用一种多字母替代形式。 安装 该库使用python3,可以从下载。 安装python之后,使用pip安装软件包。 $ pip install vigenere 此版本中不需要外部依赖项。 快速开始 打开python shell,仅用4行命令就可以开始加密和解密文本。 >> > from vigenere import encrypt , decrypt , random_key >> > cipher_key : str = random_key () # one can even use user-defined key such as `qwerty` >> > cipher = encrypt ( 'hello world' , cipher_key
【文件预览】:
Vigenere-Cipher-master
----MANIFEST.in(22B)
----.github()
--------workflows()
----vigenere()
--------vigenere.py(2KB)
--------__main__.py(104B)
--------__init__.py(318B)
--------info.txt(790B)
--------random.py(322B)
----tests()
--------test_random.py(466B)
--------test_vigenere.py(2KB)
--------__init__.py(0B)
----LICENSE(1KB)
----requirements.txt(0B)
----setup.py(986B)
----.gitignore(48B)
----README.md(2KB)

网友评论