sha-256-expected.txt 583 Bytes
Newer Older
1 2 3 4 5 6
Test crypto.subtle.digest.

On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".


SHA256 of []
ap@apple.com's avatar
ap@apple.com committed
7
PASS bytesToHexString(new Uint8Array(digest)) is 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855'
8
SHA256 of [0x0]
ap@apple.com's avatar
ap@apple.com committed
9
PASS bytesToHexString(new Uint8Array(digest)) is '6e340b9cffb37a989ca544e6bb780a2c78901d3fb33738768511a30617afa01d'
10
SHA256 of [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
ap@apple.com's avatar
ap@apple.com committed
11
PASS bytesToHexString(new Uint8Array(digest)) is '78a6273103d17c39a0b6126e226cec70e33337f4bc6a38067401b54a33e78ead'
12 13 14 15
PASS successfullyParsed is true

TEST COMPLETE