Skip to content
This repository has been archived by the owner on Aug 8, 2020. It is now read-only.

Latest commit

 

History

History
40 lines (24 loc) · 1.27 KB

README.md

File metadata and controls

40 lines (24 loc) · 1.27 KB

Crypto Work

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.

Status

The framework of the project has been built and currently depends on pyDes, which needs to be replaced with my own implementation.

TODO

  • Replace pyDes with my own implementation.
  • Add more encryption/decryption algorithms.
  • Provide a register-based mechanism to facilitate others to expand.

Usage

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

Contact

Chojan Shang - @PsiACE - psiace@outlook.com

Project Link: https://github.com/psiace/cryptowork

License

Licensed under MIT license (LICENSE or http://opensource.org/licenses/MIT)