A pure python (slow) implementation of rijndael with a decent interface
To include -
from rijndael import rijndael
To do a key setup -
r = rijndael(key, block_size = 16)
key must be a string of length 16, 24, or 32 blocksize must be 16, 24, or 32. Default is 16
To use -
ciphertext = r.encrypt(plaintext) plaintext = r.decrypt(ciphertext)
If any strings are of the wrong length a ValueError is thrown