Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

5 Commits

Repository files navigation

cryptography-codebase

Use python to implement common classic algorithms in cryptography, such as Vigenere, 3DES, RSA, ElGamal, Diffie-Hellman, RSA signature, ElGamal signature, HMAC, hash algorithm, column shift, AES, etc.

用python实现密码学中的常用经典算法,例如Vigenere、3DES、RSA、ElGamal、Diffie-Hellman、RSA签名、ElGamal签名、HMAC、哈希算法、列移位、AES等等。

Content

TypecontentCode
Programming BasicsType Hint, String, Bytes, Hex, Base64code
Classical CryptographyVigenère cipher (on alphabet string)code
Columnar transposition (on alphabet string)code
Symmetric Encryption3DEScode
AEScode
Public Key EncryptionTextbook RSA (on group)code
ElGamal (on group)code
Key ExchangeDiffie–Hellman key exchange (on group)code
SignatureSignature Textbook RSA (on group)code
Signature ElGamal (on group)code
HashRegular hash algorithmscode
HMACcode
Simulated authentication server complex systemcode

Reference

[1] Paar C , Pelzl J . Understanding Cryptography: A Textbook for Students and Practitioners[M]. Springer Publishing Company, Incorporated, 2010.

[2] Paar C , Pelzl J , 马小婷译. 深入浅出密码学: 常用加密技术原理与应用[M]. 北京:清华大学出版社, 2012.09.

Tips

  1. 如果存在疑问或发现错误,欢迎提Issues交流订正。
  2. 如果遇到图片无法加载的情况,可以考虑使用代理,或者访问博客网站

About

Use python to implement common classic algorithms in cryptography, such as Vigenere, 3DES, RSA, ElGamal, Diffie-Hellman, RSA signature, ElGamal signature, HMAC, hash algorithm, column shift, AES, etc.

Resources

Stars

11 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages