diff options
author | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2011-08-16 00:42:18 +0200 |
---|---|---|
committer | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2011-08-16 00:42:18 +0200 |
commit | 21490649347dd7738131635333645926ea49c1d1 (patch) | |
tree | 77c68a393811db38f35a7a1788295edcdacb176c | |
parent | 34a9c6bef7db450e0d8ea58dbc04740e3b261b12 (diff) |
HMAC: Add test data.
-rw-r--r-- | hmac.rkt | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -55,8 +55,15 @@ msg)) hashsize))))) +;; According to Ironclad: +;; +;; CRYPTO[12]> (map nil +;; (lambda (x) (format t "~x" x)) +;; (hmac-digest (make-hmac "" 'whirlpool))) +;; 57D73990319055DEFA7739FF7B72406A927BBC54E8FCDC98E145FA4C36CE83 +;; A9CF165AD1E0D1925F93AC1D12B985A26044E9FB1B9CCE24301FAA76EAAB53 +;; #; (begin (require "whirlpool.rkt") (printf "~x~%" (hmac whirlpool 64 64 #"" #""))) - |