The value of the code is education, not the code itself.
The goal is to implement some possible useful encryption/decryption algorithms in Python, and currently focus on DES-CBC, because this is part of the job.
Note: This is not a complete project, it exists as a homework for Information Assurance and Security.
The framework of the project has been built and currently depends on pyDes, which needs to be replaced with my own implementation.
- Replace
pyDes
with my own implementation. - Add more encryption/decryption algorithms.
- Provide a register-based mechanism to facilitate others to expand.
Change the contents of the .env file to configure your own information.
from cryptowork.app import des_encrypt, des_descrypt
string = "Let's test cryptowork."
encode = des_encrypt(string)
decode = des_descrypt(encode).decode()
assert decode == string
Chojan Shang - @PsiACE - psiace@outlook.com
Project Link: https://github.com/psiace/cryptowork
Licensed under MIT license (LICENSE or http://opensource.org/licenses/MIT)