An AES (Advanced Encryption Standard) implementation based on numpy.
Command line demostration:
>>> python example.py
Data you want to encrypt:
aabbccddeeffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz
b"aabbccddeeffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz"
As library:
from aes import aes_encrypt, aes_decrypt
# Key MUST be a 16 bytes string.
encrypted = aes_encrypt("DATA", "KEY")
data = aes_decrypt("ENCRYPTED", "KEY")