OKlibrary
0.2.1.6

User documentation for the Maxima computer algebra system implementation of the AES block cipher. More...
Go to the source code of this file.
User documentation for the Maxima computer algebra system implementation of the AES block cipher.
Functions are presented which implement the AES ("Advanced Encryption Standard") block cipher.
> key : [202,200,168,53,202,187,250,252,46,206,107,75,12,120,233,226]$ > plaintext : create_list(i,i,0,15)$ > ciphertext : aes_encrypt_nat_std(plaintext,key); [223,7,143,218,18,249,134,153,203,218,50,237,88,69,163,149] > aes_decrypt_nat_std(ciphertext,key); [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15]
> plaintext : "3243F6A8885A308D313198A2E0370734"$ > key : "2B7E151628AED2A6ABF7158809CF4F3C"$ > aes_encrypt_hex_std(plaintext,key); "3925841D02DC09FBDC118597196A0B32" > aes_decrypt_hex_std("3925841D02DC09FBDC118597196A0B32", key); "2B7E151628AED2A6ABF7158809CF4F3C"
Definition in file AdvancedEncryptionStandard.hpp.