Problem 44924. Create State Array for initiating SHA-3-224 Hash

Create binary represented state array (as the initial input to the sponge function (f)) from any length character array (N) with width (b=1600), digest length (d=224) and lane size (w=64) using SHA-3 Standard:
https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.202.pdf
Convert character array to binary representation using UTF-8 value of each character. Output state array will be a matrix with size (5,5,64). Padding in accordance with the standard is required. XOR of the rate bits (r) with the padded message stream is required (see figure 7, page 18). Just the first 1600 bit input to the first function (f) represented as a state array (see section 3.1.2) is required for the output.

Solution Stats

60.0% Correct | 40.0% Incorrect
Last Solution submitted on Feb 11, 2022

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers2

Suggested Problems

More from this Author56

Problem Tags

Community Treasure Hunt

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

Start Hunting!