OLD | NEW |
1 // The results are stored here in hex format for readability. | 1 // The results are stored here in hex format for readability. |
2 // | 2 // |
3 // TODO(bryaneyler): Eventually, all these sample test sets should be replaced | 3 // TODO(bryaneyler): Eventually, all these sample test sets should be replaced |
4 // with the sets here: http://csrc.nist.gov/groups/STM/cavp/index.html#03 | 4 // with the sets here: http://csrc.nist.gov/groups/STM/cavp/index.html#03 |
5 // | 5 // |
6 // Results were generated using the command sha{1,256,384,512}sum. | 6 // Results were generated using the command sha{1,256,384,512}sum. |
7 [ | 7 [ |
8 { "algorithm": "sha-1", | 8 { "algorithm": "sha-1", |
9 "input": "", | 9 "input": "", |
10 "output": "da39a3ee5e6b4b0d3255bfef95601890afd80709" | 10 "output": "da39a3ee5e6b4b0d3255bfef95601890afd80709" |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 }, | 63 }, |
64 { "algorithm": "sha-384", | 64 { "algorithm": "sha-384", |
65 "input": "000102030405000102030405000102030405000102030405000102030405000102
03040500010203040500010203040500010203040500010203040500010203040500010203040500
01020304050001020304050001020304050001020304050001020304050001020304050001020304
05000102030405000102030405000102030405000102030405000102030405000102030405000102
03040500010203040500010203040500010203040500010203040500010203040500010203040500
01020304050001020304050001020304050001020304050001020304050001020304050001020304
05000102030405000102030405000102030405000102030405000102030405000102030405000102
03040500010203040500010203040500010203040500010203040500010203040500010203040500
01020304050001020304050001020304050001020304050001020304050001020304050001020304
05000102030405000102030405000102030405000102030405000102030405", | 65 "input": "000102030405000102030405000102030405000102030405000102030405000102
03040500010203040500010203040500010203040500010203040500010203040500010203040500
01020304050001020304050001020304050001020304050001020304050001020304050001020304
05000102030405000102030405000102030405000102030405000102030405000102030405000102
03040500010203040500010203040500010203040500010203040500010203040500010203040500
01020304050001020304050001020304050001020304050001020304050001020304050001020304
05000102030405000102030405000102030405000102030405000102030405000102030405000102
03040500010203040500010203040500010203040500010203040500010203040500010203040500
01020304050001020304050001020304050001020304050001020304050001020304050001020304
05000102030405000102030405000102030405000102030405000102030405", |
66 "output": "92276ce0d63a013305d8d4a1b0fa99900fbff5d5f16d74b2340ac5ec996fc41ce
c765d3abcd7d4bb0b7fd9354ab27c08" | 66 "output": "92276ce0d63a013305d8d4a1b0fa99900fbff5d5f16d74b2340ac5ec996fc41ce
c765d3abcd7d4bb0b7fd9354ab27c08" |
67 }, | 67 }, |
68 { "algorithm": "sha-512", | 68 { "algorithm": "sha-512", |
69 "input": "000102030405000102030405000102030405000102030405000102030405000102
03040500010203040500010203040500010203040500010203040500010203040500010203040500
01020304050001020304050001020304050001020304050001020304050001020304050001020304
05000102030405000102030405000102030405000102030405000102030405000102030405000102
03040500010203040500010203040500010203040500010203040500010203040500010203040500
01020304050001020304050001020304050001020304050001020304050001020304050001020304
05000102030405000102030405000102030405000102030405000102030405000102030405000102
03040500010203040500010203040500010203040500010203040500010203040500010203040500
01020304050001020304050001020304050001020304050001020304050001020304050001020304
05000102030405000102030405000102030405000102030405000102030405", | 69 "input": "000102030405000102030405000102030405000102030405000102030405000102
03040500010203040500010203040500010203040500010203040500010203040500010203040500
01020304050001020304050001020304050001020304050001020304050001020304050001020304
05000102030405000102030405000102030405000102030405000102030405000102030405000102
03040500010203040500010203040500010203040500010203040500010203040500010203040500
01020304050001020304050001020304050001020304050001020304050001020304050001020304
05000102030405000102030405000102030405000102030405000102030405000102030405000102
03040500010203040500010203040500010203040500010203040500010203040500010203040500
01020304050001020304050001020304050001020304050001020304050001020304050001020304
05000102030405000102030405000102030405000102030405000102030405", |
70 "output": "3c898c2d185e74802bae5d9a5d562b079086e3bf5f982a2eea65a544b7d265e96
a6909575a2218b5de3e7089ea9b9147386f88755299b4d407ee65de9ce0c85c" | 70 "output": "3c898c2d185e74802bae5d9a5d562b079086e3bf5f982a2eea65a544b7d265e96
a6909575a2218b5de3e7089ea9b9147386f88755299b4d407ee65de9ce0c85c" |
71 } | 71 } |
72 ] | 72 ] |
OLD | NEW |