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

Side by Side Diff: components/test/data/webcrypto/pkcs1v15_sign.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
« no previous file with comments | « components/test/data/webcrypto/hmac.json ('k') | components/test/data/webcrypto/rsa_oaep.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Use the NIST test vectors from Example 1 of 1 // Use the NIST test vectors from Example 1 of
2 // ftp://ftp.rsa.com/pub/rsalabs/tmp/pkcs1v15sign-vectors.txt 2 // ftp://ftp.rsa.com/pub/rsalabs/tmp/pkcs1v15sign-vectors.txt
3 // These vectors are known answers for RSA PKCS#1 v1.5 Signature with a SHA-1 3 // These vectors are known answers for RSA PKCS#1 v1.5 Signature with a SHA-1
4 // digest, using a predefined key pair. 4 // digest, using a predefined key pair.
5 5
6 [ 6 [
7 // The following data are the input messages and corresponding computed RSA 7 // The following data are the input messages and corresponding computed RSA
8 // PKCS#1 v1.5 signatures from the NIST link above. 8 // PKCS#1 v1.5 signatures from the NIST link above.
9 // PKCS#1 v1.5 Signature Example 1.1 9 // PKCS#1 v1.5 Signature Example 1.1
10 { 10 {
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 { 100 {
101 "message_hex": "64702db9f825a0f3abc361974659f5e9d30c3aa4f56feac69050c72905e7 7fe0c22f88a378c21fcf45fe8a5c717302093929", 101 "message_hex": "64702db9f825a0f3abc361974659f5e9d30c3aa4f56feac69050c72905e7 7fe0c22f88a378c21fcf45fe8a5c717302093929",
102 "signature_hex": "152f3451c858d69594e6567dfb31291c1ee7860b9d15ebd5a5edd276ac 3e6f7a8d1480e42b3381d2be023acf7ebbdb28de3d2163ae44259c6df98c335d045b61dac9dba9db bb4e6ab4a083cd76b580cbe472206a1a9fd60680ceea1a570a29b0881c775eaef5525d6d2f344c28 837d0aca422bbb0f1aba8f6861ae18bd73fe44" 102 "signature_hex": "152f3451c858d69594e6567dfb31291c1ee7860b9d15ebd5a5edd276ac 3e6f7a8d1480e42b3381d2be023acf7ebbdb28de3d2163ae44259c6df98c335d045b61dac9dba9db bb4e6ab4a083cd76b580cbe472206a1a9fd60680ceea1a570a29b0881c775eaef5525d6d2f344c28 837d0aca422bbb0f1aba8f6861ae18bd73fe44"
103 }, 103 },
104 // PKCS#1 v1.5 Signature Example 1.20 104 // PKCS#1 v1.5 Signature Example 1.20
105 { 105 {
106 "message_hex": "941921de4a1c9c1618d6f3ca3c179f6e29bae6ddf9a6a564f929e3ce82cf 3265d7837d5e692be8dcc9e86c", 106 "message_hex": "941921de4a1c9c1618d6f3ca3c179f6e29bae6ddf9a6a564f929e3ce82cf 3265d7837d5e692be8dcc9e86c",
107 "signature_hex": "7076c287fc6fff2b20537435e5a3107ce4da10716186d01539413e609d 27d1da6fd952c61f4bab91c045fa4f8683ecc4f8dde74227f773cff3d96db84718c4944b06affeba 94b725f1b07d3928b2490a85c2f1abf492a9177a7cd2ea0c9668756f825bbec900fa8ac3824e1143 87ef573780ca334882387b94e5aad7a27a28dc" 107 "signature_hex": "7076c287fc6fff2b20537435e5a3107ce4da10716186d01539413e609d 27d1da6fd952c61f4bab91c045fa4f8683ecc4f8dde74227f773cff3d96db84718c4944b06affeba 94b725f1b07d3928b2490a85c2f1abf492a9177a7cd2ea0c9668756f825bbec900fa8ac3824e1143 87ef573780ca334882387b94e5aad7a27a28dc"
108 } 108 }
109 ] 109 ]
OLDNEW
« no previous file with comments | « components/test/data/webcrypto/hmac.json ('k') | components/test/data/webcrypto/rsa_oaep.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698