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

Side by Side Diff: components/test/data/webcrypto/hmac.json

Issue 1077273002: html_viewer: Move webcrypto to a place where html_viewer can use it. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase to ToT Created 5 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
OLDNEW
1 [ 1 [
2 // Empty sets. Result generated via OpenSSL commandline tool. These 2 // Empty sets. Result generated via OpenSSL commandline tool. These
3 // particular results are also posted on the Wikipedia page examples: 3 // particular results are also posted on the Wikipedia page examples:
4 // http://en.wikipedia.org/wiki/Hash-based_message_authentication_code 4 // http://en.wikipedia.org/wiki/Hash-based_message_authentication_code
5 { 5 {
6 "hash": "sha-1", 6 "hash": "sha-1",
7 "key": "00", 7 "key": "00",
8 "message": "", 8 "message": "",
9 // openssl dgst -sha1 -hmac "" < /dev/null 9 // openssl dgst -sha1 -hmac "" < /dev/null
10 "mac": "fbdb1d1b18aa6c08324b7d64b71fb76370690e1d" 10 "mac": "fbdb1d1b18aa6c08324b7d64b71fb76370690e1d"
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 "mac": "c550fa53514da34f15e7f98ea87226ab6896cdfae25d3ec2335839f755cdc9a49920 92e70b7e5bd422784380b6396cf5" 55 "mac": "c550fa53514da34f15e7f98ea87226ab6896cdfae25d3ec2335839f755cdc9a49920 92e70b7e5bd422784380b6396cf5"
56 }, 56 },
57 // L=64, Count=65 57 // L=64, Count=65
58 { 58 {
59 "hash": "sha-512", 59 "hash": "sha-512",
60 "key": "c367aeb5c02b727883ffe2a4ceebf911b01454beb328fb5d57fc7f11bf744576aba4 21e2a63426ea8109bd28ff21f53cd2bf1a11c6c989623d6ec27cdb0bbf458250857d819ff84408b4 f3dce08b98b1587ee59683af8852a0a5f55bda3ab5e132b4010e", 60 "key": "c367aeb5c02b727883ffe2a4ceebf911b01454beb328fb5d57fc7f11bf744576aba4 21e2a63426ea8109bd28ff21f53cd2bf1a11c6c989623d6ec27cdb0bbf458250857d819ff84408b4 f3dce08b98b1587ee59683af8852a0a5f55bda3ab5e132b4010e",
61 "message": "1a7331c8ff1b748e3cee96952190fdbbe4ee2f79e5753bbb368255ee5b19c05a 4ed9f1b2c72ff1e9b9cb0348205087befa501e7793770faf0606e9c901836a9bc8afa00d7db94ee2 9eb191d5cf3fc3e8da95a0f9f4a2a7964289c3129b512bd890de8700a9205420f28a8965b6c67be2 8ba7fe278e5fcd16f0f22cf2b2eacbb9", 61 "message": "1a7331c8ff1b748e3cee96952190fdbbe4ee2f79e5753bbb368255ee5b19c05a 4ed9f1b2c72ff1e9b9cb0348205087befa501e7793770faf0606e9c901836a9bc8afa00d7db94ee2 9eb191d5cf3fc3e8da95a0f9f4a2a7964289c3129b512bd890de8700a9205420f28a8965b6c67be2 8ba7fe278e5fcd16f0f22cf2b2eacbb9",
62 "mac": "4459066109cb11e6870fa9c6bfd251adfa304c0a2928ca915049704972edc560cc7c 0bc38249e9101aae2f7d4da62eaff83fb07134efc277de72b9e4ab360425" 62 "mac": "4459066109cb11e6870fa9c6bfd251adfa304c0a2928ca915049704972edc560cc7c 0bc38249e9101aae2f7d4da62eaff83fb07134efc277de72b9e4ab360425"
63 } 63 }
64 ] 64 ]
OLDNEW
« no previous file with comments | « components/test/data/webcrypto/ecdsa.json ('k') | components/test/data/webcrypto/pkcs1v15_sign.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698