"Test Using Larger Than Block-Size Key - Hash Key First")));
= blob.encode(HEX,
blob=rfc4231t6.hmac(blob.decode(IDENTITY,
encoded="Test Using Larger Than Block-Size Key - Hash Key First")));
/*
* Test case 7 uses the same key as 6, so we'll re-use
...
...
@@ -124,56 +124,57 @@ varnish v1 -vcl {
* internal hash contexts.
*/
set resp.http.rfc4231t7
= blobcode.encode(HEXLC,
rfc4231t6.hmac(blobcode.decode(IDENTITY,
"This is a test using a larger than block-size key and a larger than block-size data. The key needs to be hashed before being used by the HMAC algorithm.")));
= blob.encode(HEX,
blob=rfc4231t6.hmac(blob.decode(IDENTITY,
encoded="This is a test using a larger than block-size key and a larger than block-size data. The key needs to be hashed before being used by the HMAC algorithm.")));
"This is a test using a larger than block-size key and a larger than block-size data. The key needs to be hashed before being used by the HMAC algorithm."),