Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion branch yves/rand_hash_seed, updated. v5.17.5-144-g2114e3a
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
"Yves Orton"  
View profile  
 More options Nov 4 2012, 7:30 am
Newsgroups: perl.perl5.changes
From: demer...@gmail.com ("Yves Orton")
Date: Sun, 04 Nov 2012 13:23:39 +0100
Local: Sun, Nov 4 2012 7:23 am
Subject: [perl.git] branch yves/rand_hash_seed, updated. v5.17.5-144-g2114e3a
In perl.git, the branch yves/rand_hash_seed has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/2114e3a5fb824644dce471a...>

- Log -----------------------------------------------------------------
commit 2114e3a5fb824644dce471ac1dec03997f09f51a
Author: Yves Orton <demer...@gmail.com>
Date:   Sun Nov 4 13:23:15 2012 +0100

    document siphash origins
-----------------------------------------------------------------------

Summary of changes:
 hv.h |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/hv.h b/hv.h
index 44189f4..88753d3 100644
--- a/hv.h
+++ b/hv.h
@@ -147,6 +147,20 @@ struct xpvhv {
 #if defined(PERL_HASH_FUNC_SIPHASH)
 #define PERL_HASH_FUNC "SIPHASH"

+/* This is SipHash by Jean-Philippe Aumasson and Daniel J. Bernstein.
+ * The authors claim it is relatively secure compared to the alternatives
+ * and that performance wise it is a suitable hash for languages like Perl.
+ * See:
+ *
+ * https://www.131002.net/siphash/
+ *
+ * This implementation seems to perform slightly slower than one-at-a-time for
+ * short keys, but degrades slower for longer keys. Murmur Hash outperforms it
+ * regardless of keys size.
+ *
+ * It is 64 bit only.
+ */
+
 #define PERL_HASH_NEEDS_TWO_SEEDS

 #ifndef U64

--
Perl5 Master Repository


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.