OLD | NEW |
(Empty) | |
| 1 Tests cypto.subtle.sign and crypto.subtle.verify |
| 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 |
| 5 |
| 6 PASS crypto.subtle.verify(hmacSha1, hmacSha1Key, null) threw exception TypeError
: Type error. |
| 7 PASS crypto.subtle.verify(hmacSha1, hmacSha1Key, 'a') threw exception TypeError:
Type error. |
| 8 PASS crypto.subtle.verify(hmacSha1, hmacSha1Key, []) threw exception TypeError:
Type error. |
| 9 PASS signResult.byteLength is 17 |
| 10 PASS verifyResult1 is true |
| 11 PASS verifyResult2 is false |
| 12 PASS successfullyParsed is true |
| 13 |
| 14 TEST COMPLETE |
| 15 |
OLD | NEW |