diff options
author | Yves Orton <demerphq@gmail.com> | 2021-02-12 19:29:36 +0100 |
---|---|---|
committer | Yves Orton <demerphq@gmail.com> | 2021-02-13 09:26:05 +0100 |
commit | 8bc8b6db1481526395ac3feb7ea9e69413e76351 (patch) | |
tree | fafa4cf98ec99d1ee03feb5f1b037a09a471c837 | |
parent | f43079cb514e3d0be0036424695438ae3fb58451 (diff) | |
download | perl-8bc8b6db1481526395ac3feb7ea9e69413e76351.tar.gz |
use SIPHASH 1-3 as the default 64 bit hash
Stadtx should be deprecated and removed after this
-rw-r--r-- | INSTALL | 5 | ||||
-rw-r--r-- | hv_func.h | 2 |
2 files changed, 5 insertions, 2 deletions
@@ -368,7 +368,7 @@ insecure and are not recommended for production use.> Since Perl 5.18 we have included support for multiple hash functions, although from time to time we change which functions we support, -and which function is default (currently SBOX+STADTX on 64 bit builds +and which function is default (currently SBOX+SIPHASH13 on 64 bit builds and SBOX+ZAPHOD32 for 32 bit builds). You can choose a different algorithm by defining one of the following symbols during configure. Note that there are security implications regarding which hash function you choose @@ -380,6 +380,9 @@ to be, with the one believed to be most secure at release time being PERL_HASH_F PERL_HASH_FUNC_ZAPHOD32 PERL_HASH_FUNC_STADTX +Note that use of PERL_HASH_FUNC_STADTX is deprecated and will be removed +in a future release. + In addition, these, (or custom hash functions), may be "fronted" by the SBOX32 hash function for keys under a chosen size. This hash function is special in that it has proven theoretical security properties, and is very @@ -17,7 +17,7 @@ || defined(PERL_HASH_FUNC_ZAPHOD32) \ ) # ifdef CAN64BITHASH -# define PERL_HASH_FUNC_STADTX +# define PERL_HASH_FUNC_SIPHASH13 # else # define PERL_HASH_FUNC_ZAPHOD32 # endif |