From 38d72457609b56c1b0f8e82d719e44f9906fe9c0 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Fri, 21 Jan 2011 06:46:41 +0000 Subject: Decided to add some history to the comment. --- src/pearsonhash.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/pearsonhash.h b/src/pearsonhash.h index af8dfc3..2a9cfa7 100644 --- a/src/pearsonhash.h +++ b/src/pearsonhash.h @@ -18,6 +18,11 @@ namespace Bu * as it's output. It is strongly dependant on every byte in the input, * which means that it's a good choice for adding to short messages to * ensure that the contents of the messages are unchanged. + * + * Pearson hash is named for it's inventor Peter K. Pearson who described + * it in his article "Fast hashing of variable-length text strings" + * published in 1990 by ACM. I haven't read it, because you have to pay to + * get a copy :-P */ class PearsonHash : public Bu::CryptoHash { -- cgit v1.2.3