pluto / signius

Exploring Fast Cryptographic Primitives in Binius
3 stars 0 forks source link

feat: input and padding #10

Open Autoparallel opened 5 months ago

Autoparallel commented 5 months ago

SHA-256 uses the Merkle-Damgard construction to read in data into chunks and attach the length of that data to the end of the message with a requirement that some zero padding occur.

This was done in ronkathon here.

Prior to implementing this, we should write extra tests on our implementation to make sure that this is exactly correct.