In this project, I created a Python program that uses symmetric encryption to encrypt a message using an AES mode selected by the user. The symmetric key is then encrypted using RSA asymmetric encryption with the receiver's public key. The receiver's private key is also encrypted, serialized, and password protected. The program also stores the ciphertext and the encrypted symmetric key in a file type specified by the user. Finally, by entering the password for the serialized private key, the private key can be decrypted, deserialized, and used to decrypt the symmetric key. The decrypted symmetric key is then used to decrypt the ciphertext and reveal the original message.
-
Notifications
You must be signed in to change notification settings - Fork 0
KolbeWilliams/Python-Encryption-Decryption-Key-Serialization-and-File-I-O
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
This python program showcases AES symmetric encryption/decryption with different modes, RSA asymmetric encryption/decryption, key serialization, and File I/O.
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published