summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2011-01-21 06:46:41 +0000
committerMike Buland <eichlan@xagasoft.com>2011-01-21 06:46:41 +0000
commit38d72457609b56c1b0f8e82d719e44f9906fe9c0 (patch)
tree2e67386d1e3188df6adc4936f242d6fc4c7df2ac /src
parent32cf9195e7c01e2f3d2ffbce06d143e67fa5a54d (diff)
downloadlibbu++-38d72457609b56c1b0f8e82d719e44f9906fe9c0.tar.gz
libbu++-38d72457609b56c1b0f8e82d719e44f9906fe9c0.tar.bz2
libbu++-38d72457609b56c1b0f8e82d719e44f9906fe9c0.tar.xz
libbu++-38d72457609b56c1b0f8e82d719e44f9906fe9c0.zip
Decided to add some history to the comment.
Diffstat (limited to '')
-rw-r--r--src/pearsonhash.h5
1 files changed, 5 insertions, 0 deletions
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
18 * as it's output. It is strongly dependant on every byte in the input, 18 * as it's output. It is strongly dependant on every byte in the input,
19 * which means that it's a good choice for adding to short messages to 19 * which means that it's a good choice for adding to short messages to
20 * ensure that the contents of the messages are unchanged. 20 * ensure that the contents of the messages are unchanged.
21 *
22 * Pearson hash is named for it's inventor Peter K. Pearson who described
23 * it in his article "Fast hashing of variable-length text strings"
24 * published in 1990 by ACM. I haven't read it, because you have to pay to
25 * get a copy :-P
21 */ 26 */
22 class PearsonHash : public Bu::CryptoHash 27 class PearsonHash : public Bu::CryptoHash
23 { 28 {