Shake256

版本 1.0.2 (4.3 KB) 作者: David Hill
Uses Advance Encryption Standard algorithm from FIBS-197
61.0 次下载
更新时间 2020/2/14

查看许可证

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.

引用格式

David Hill (2024). Shake256 (https://www.mathworks.com/matlabcentral/fileexchange/73865-shake256), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2019a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Argument Definitions 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.2

Updated picture

1.0.1

Changed output to hexadecimal from byte array

1.0.0