From df42c6176d9248242a056203c18ccd1ae6ed5414 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Thu, 27 Apr 2017 12:14:11 -0400 Subject: [PATCH] comment update --- src/app/services/cryptoService.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/services/cryptoService.js b/src/app/services/cryptoService.js index dbcb975eb3..3737d9d6b5 100644 --- a/src/app/services/cryptoService.js +++ b/src/app/services/cryptoService.js @@ -431,7 +431,7 @@ angular return b64Output ? forge.util.encode64(mac.getBytes()) : mac.getBytes(); } - // Safely compare two MACs in a way that protects against timing attacks. + // Safely compare two MACs in a way that protects against timing attacks (Double HMAC Verification). // ref: https://www.nccgroup.trust/us/about-us/newsroom-and-events/blog/2011/february/double-hmac-verification/ function macsEqual(macKey, mac1, mac2) { var hmac = forge.hmac.create();