File Exchange

image thumbnail

Shake256

version 1.0.2 (4.27 KB) by David Hill
Uses Advance Encryption Standard algorithm from FIBS-197

3 Downloads

Updated 14 Feb 2020

View License

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.

Cite As

David Hill (2020). Shake256 (https://www.mathworks.com/matlabcentral/fileexchange/73865-shake256), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (0)

Updates

1.0.2

Updated picture

1.0.1

Changed output to hexadecimal from byte array

MATLAB Release Compatibility
Created with R2019a
Compatible with any release
Platform Compatibility
Windows macOS Linux