Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(74)

Side by Side Diff: content/test/data/webcrypto/digest.json

Issue 200763005: Support for the new WebCrypto digest by chunks API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Get rid of C++11 function call Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/child/webcrypto/webcrypto_impl.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 "input": "000102030405", 45 "input": "000102030405",
46 "output": "17e88db187afd62c16e5debf3e6527cd006bc012bc90b51a810cd80c2d511f43" 46 "output": "17e88db187afd62c16e5debf3e6527cd006bc012bc90b51a810cd80c2d511f43"
47 }, 47 },
48 { "algorithm": "sha-384", 48 { "algorithm": "sha-384",
49 "input": "000102030405", 49 "input": "000102030405",
50 "output": "79f4738706fce9650ac60266675c3cd07298b09923850d525604d040e6e448adc 7dc22780d7e1b95bfeaa86a678e4552" 50 "output": "79f4738706fce9650ac60266675c3cd07298b09923850d525604d040e6e448adc 7dc22780d7e1b95bfeaa86a678e4552"
51 }, 51 },
52 { "algorithm": "sha-512", 52 { "algorithm": "sha-512",
53 "input": "000102030405", 53 "input": "000102030405",
54 "output": "2f3831bccc94cf061bcfa5f8c23c1429d26e3bc6b76edad93d9025cb91c903af6 cf9c935dc37193c04c2c66e7d9de17c358284418218afea2160147aaa912f4c" 54 "output": "2f3831bccc94cf061bcfa5f8c23c1429d26e3bc6b76edad93d9025cb91c903af6 cf9c935dc37193c04c2c66e7d9de17c358284418218afea2160147aaa912f4c"
55 },
56 { "algorithm": "sha-1",
57 "input": "000102030405000102030405000102030405000102030405000102030405000102 03040500010203040500010203040500010203040500010203040500010203040500010203040500 01020304050001020304050001020304050001020304050001020304050001020304050001020304 05000102030405000102030405000102030405000102030405000102030405000102030405000102 03040500010203040500010203040500010203040500010203040500010203040500010203040500 01020304050001020304050001020304050001020304050001020304050001020304050001020304 05000102030405000102030405000102030405000102030405000102030405000102030405000102 03040500010203040500010203040500010203040500010203040500010203040500010203040500 01020304050001020304050001020304050001020304050001020304050001020304050001020304 05000102030405000102030405000102030405000102030405000102030405",
58 "output": "e38fdf41b8041b07c24499afa61081766c8d0869"
59 },
60 { "algorithm": "sha-256",
61 "input": "000102030405000102030405000102030405000102030405000102030405000102 03040500010203040500010203040500010203040500010203040500010203040500010203040500 01020304050001020304050001020304050001020304050001020304050001020304050001020304 05000102030405000102030405000102030405000102030405000102030405000102030405000102 03040500010203040500010203040500010203040500010203040500010203040500010203040500 01020304050001020304050001020304050001020304050001020304050001020304050001020304 05000102030405000102030405000102030405000102030405000102030405000102030405000102 03040500010203040500010203040500010203040500010203040500010203040500010203040500 01020304050001020304050001020304050001020304050001020304050001020304050001020304 05000102030405000102030405000102030405000102030405000102030405",
62 "output": "73c5a698c25f1d72920d895d8dc2461cac9b73ec39ddbd1eda3ac74ffb530fd8"
63 },
64 { "algorithm": "sha-384",
65 "input": "000102030405000102030405000102030405000102030405000102030405000102 03040500010203040500010203040500010203040500010203040500010203040500010203040500 01020304050001020304050001020304050001020304050001020304050001020304050001020304 05000102030405000102030405000102030405000102030405000102030405000102030405000102 03040500010203040500010203040500010203040500010203040500010203040500010203040500 01020304050001020304050001020304050001020304050001020304050001020304050001020304 05000102030405000102030405000102030405000102030405000102030405000102030405000102 03040500010203040500010203040500010203040500010203040500010203040500010203040500 01020304050001020304050001020304050001020304050001020304050001020304050001020304 05000102030405000102030405000102030405000102030405000102030405",
66 "output": "92276ce0d63a013305d8d4a1b0fa99900fbff5d5f16d74b2340ac5ec996fc41ce c765d3abcd7d4bb0b7fd9354ab27c08"
67 },
68 { "algorithm": "sha-512",
69 "input": "000102030405000102030405000102030405000102030405000102030405000102 03040500010203040500010203040500010203040500010203040500010203040500010203040500 01020304050001020304050001020304050001020304050001020304050001020304050001020304 05000102030405000102030405000102030405000102030405000102030405000102030405000102 03040500010203040500010203040500010203040500010203040500010203040500010203040500 01020304050001020304050001020304050001020304050001020304050001020304050001020304 05000102030405000102030405000102030405000102030405000102030405000102030405000102 03040500010203040500010203040500010203040500010203040500010203040500010203040500 01020304050001020304050001020304050001020304050001020304050001020304050001020304 05000102030405000102030405000102030405000102030405000102030405",
70 "output": "3c898c2d185e74802bae5d9a5d562b079086e3bf5f982a2eea65a544b7d265e96 a6909575a2218b5de3e7089ea9b9147386f88755299b4d407ee65de9ce0c85c"
55 } 71 }
56 ] 72 ]
OLDNEW
« no previous file with comments | « content/child/webcrypto/webcrypto_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698