Shake256
Versione 1.0.2 (4,27 KB) da
David Hill
Uses Advance Encryption Standard algorithm from FIBS-197
Execute steam=Shake256(m,d) with inputs m (character array or byte array of any length as the input stream) and d (number of output bytes desired). The output (stream) will be the number of bytes requested (d) in hexadecimal form. This code can be easily converted to Shake128 by adjusting the constant r=1344 in the SPONGE function. It has been tested on many input streams and provides the expected output streams.
Cita come
David Hill (2024). Shake256 (https://www.mathworks.com/matlabcentral/fileexchange/73865-shake256), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Creato con
R2019a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxCategorie
Scopri di più su Argument Definitions in Help Center e MATLAB Answers
Tag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.