Calculates sha2-256 (32bytes) hash of a list of bytes. Result is also a list of bytes.
List of uint8 numbers
List of uint8 numbers.
sha2_256(textToBytes("Hello, World!")) == [223, 253, 96, 33, 187, 43, 213, 176, 175, 103, 98, 144, 128, 158, 195, 165, 49, 145, 221, 129, 199, 247, 10, 75, 40, 104, 138, 54, 33, 130, 152, 111] Copy
sha2_256(textToBytes("Hello, World!")) == [223, 253, 96, 33, 187, 43, 213, 176, 175, 103, 98, 144, 128, 158, 195, 165, 49, 145, 221, 129, 199, 247, 10, 75, 40, 104, 138, 54, 33, 130, 152, 111]
Calculates sha2-256 (32bytes) hash of a list of bytes. Result is also a list of bytes.