AES - Advanced Encryption Standard
AES - AES-128, AES-192, and AES-256 encryption/decryption functions with support of all NIST SP800-38A cipher modes, i.e., ECB, CBC, OFB, CFB, and CTR.
Files:
High level functions:
aesinit - Generate structure with s-boxes, expanded key, etc.
aes - Encrypt/decrypt array of bytes by AES.
aesinfo - Display info about AES setting in AES structure.
Low level 4x4 block functions:
aesdecrypt - Decrypt 16-bytes vector.
aesencrypt - Encrypt 16-bytes vector.
Test functions:
aestest - AES test script.
AES_GET_COUNTER - Generates counter for aes.m - an example.
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.