diff options
author | Yves Orton <demerphq@gmail.com> | 2012-11-20 08:39:36 +0100 |
---|---|---|
committer | Yves Orton <demerphq@gmail.com> | 2012-11-20 08:39:36 +0100 |
commit | 7a7a10c7d9712f49d74bc24cc7ab4949ed96b202 (patch) | |
tree | b40036872c16118ac7c31c4faccb3a2e3f96edd5 | |
parent | 86148eee9ccf4d02d11528468a51eab2140c4cb3 (diff) | |
download | perl-7a7a10c7d9712f49d74bc24cc7ab4949ed96b202.tar.gz |
add more perldelta changes about hash patch
-rw-r--r-- | pod/perldelta.pod | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/pod/perldelta.pod b/pod/perldelta.pod index b25ad8d94f..f791344bac 100644 --- a/pod/perldelta.pod +++ b/pod/perldelta.pod @@ -96,6 +96,29 @@ This change was introduced to make perls hashes more robust to algorithmic complexity attacks and also because we discovered that it exposes hash ordering dependency bugs and make them easier to track down. +=head2 PERL_HASH_SEED enviornment variable now takes a hex value + +PERL_HASH_SEED no longer accepts an integer as a parameter, instead the +value is expected to be a binary string encoded in hex. This is to make +the infrastructure support hash seeds of arbitrary lengths which might +exceed that of an integer. (SipHash uses a 16 byte seed). + +=head2 Hash::Util::hash_seed() now returns a string + +Hash::Util::hash_seed() now returns a string instead of an integer. This +is to make the infrastructure support hash seeds of arbitrary lengths +which might exceed that of an integer. (SipHash uses a 16 byte seed). + +=head2 Output of PERL_HASH_SEED_DEBUG has been changed + +The environment variable PERL_HASH_SEED_DEBUG now shows both the hash +function perl was built with AND the seed, in hex in use for that process. +Code parsing this output, should it exist, must change to accomodate the +new format. Example of the new format: + + $ PERL_HASH_SEED_DEBUG=1 ./perl -e1 + HASH_FUNCTION = MURMUR3 HASH_SEED = 0x1476bb9f + =head1 Deprecations XXX Any deprecated features, syntax, modules etc. should be listed here. In |