- Implement the method of encryp/decryp below:
- Caesar cipher (Key: 5)
- Playfair cipher (Key: COMP)
- Vernam proposed the autokey system (Key: TEC)
- Row transposition (Key: 45362178)
- Rail fence cipher (Key: 2)
- Encrypt
Input: ./EncryptDES {key} {plaintext}
Output: {ciphertext} - Decrypt
Input: ./EncryptDES {key} {ciphertext}
Output: {plaintext}
- Use AES to encrypt/decrypt:
- ECB mode
- CBC mode
- Find a cool mode or design your own block cipher mode
- Turn jpg/png into ppm
pip install Pillow
- Use AES
pip install pycryptodome
- Encrypt
python RSA.py –e {plaintext} - Decrypt
python RSA.py –d {ciphertext}
python DSA.py {plaintext}