Advanced Encryption Standard (AES)-128,192, 256

Advance Encryption Standard-128, 192, or 256 encryption and decryption using 128/192/256-bit hexadecimal key and 128-bit hexadecimal input.
3,9K download
Aggiornato 25 gen 2021

Visualizza la licenza

AES-128/192/256 algorithm for creating a cipher given a 128-bit hexadecimal input message and 128/192/256-bit hexadecimal key. Created using FIBS-197 standard. Algorithm was not built for speed and does not covert a text message or data input 128-bit input blocks. Cipher and InvCipher are the main functions to execute. Function executes AES128 or AES192 or AES256 based on the key size. Functions do not check whether the key size or input are the correct length and will error if they are not the correct size.

Out = Cipher(key,In)


Cita come

David Hill (2024). Advanced Encryption Standard (AES)-128,192, 256 (, MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2020a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Scopri di più su Encryption / Cryptography in Help Center e MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versione Pubblicato Note della release

Corrected coding for new versions of MATLAB.


Added 128 and 192 bit key choices


Corrected error.


Upgraded and simplified code.