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 (2025). Shake256 (https://www.mathworks.com/matlabcentral/fileexchange/73865-shake256), MATLAB Central File Exchange. 검색 날짜: .
MATLAB 릴리스 호환 정보
개발 환경:
R2019a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux카테고리
Help Center 및 MATLAB Answers에서 Argument Definitions에 대해 자세히 알아보기
태그
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!