aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 {