summaryrefslogtreecommitdiff
path: root/whirlpool.rkt
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2011-08-15 23:26:44 +0200
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2011-08-15 23:26:44 +0200
commit9d72825e92864d102bc1c4978ee3db17a4102c84 (patch)
tree355704ec8eee81e5060917285c2bb55bb9bc72a3 /whirlpool.rkt
parent74a01eb449e63ce3ee135ce0092dbc483db1bdfc (diff)
Whirlpool: Add a reference to the relevant research paper.
Diffstat (limited to 'whirlpool.rkt')
-rw-r--r--whirlpool.rkt9
1 files changed, 9 insertions, 0 deletions
diff --git a/whirlpool.rkt b/whirlpool.rkt
index af2694f..1468fd1 100644
--- a/whirlpool.rkt
+++ b/whirlpool.rkt
@@ -1,6 +1,7 @@
#lang typed/racket
;;; Copyright 2011, Matthias Andreas Benkard.
;;;
+;;;-----------------------------------------------------------------------------
;;; This program is free software: you can redistribute it and/or modify
;;; it under the terms of the GNU Affero General Public License as published by
;;; the Free Software Foundation, either version 3 of the License, or
@@ -13,6 +14,14 @@
;;;
;;; You should have received a copy of the GNU Affero General Public License
;;; along with this program. If not, see <http://www.gnu.org/licenses/>.
+;;;-----------------------------------------------------------------------------
+;;;
+;;; This is an implementation of the WHIRLPOOL cryptographic hashing function
+;;;
+;;; The implementation is a rather direct implementation based on the 2003
+;;; revised version of the original paper (“The WHIRLPOOL Hashing Function”) by
+;;; Barreto and Rijmen. It is optimized for clarity, not performance.
+;;;
(provide: [whirlpool (Bytes -> Exact-Nonnegative-Integer)])