MessageCipher

Hello! Welcome to MessageCipher’s documentation! This library was primarily written as a learning excercise, aswell as a demonstration of my programming habits.

To perform encryption and decryption with MessageCipher, simply import the main class from one of the cipher modules:

create an object, and use the encrypt() and decrypt() methods available on those objects. Like so:

from message_cipher.rsa_system import RSA

rsa = RSA()

ciphertext = rsa.encrypt("Plain text message")

plaintext = rsa.decrypt(ciphertext)
print(plaintext)

Indices and tables