Closed HarryR closed 5 years ago
Take a vector of bits, and perform the appropriate number of SHA256 rounds chained together then suffixed with the message length.
This means that an SHA256 function with say... 128 bytes of input can be made which matches on-chain SHA256 function with the same input.
Take a vector of bits, and perform the appropriate number of SHA256 rounds chained together then suffixed with the message length.
This means that an SHA256 function with say... 128 bytes of input can be made which matches on-chain SHA256 function with the same input.