Email list hosting service & mailing list manager

hash functions should not be required to accept two arguments William D Clinger (09 Nov 2015 17:42 UTC)
Re: hash functions should not be required to accept two arguments William D Clinger (10 Nov 2015 12:02 UTC)
Re: hash functions should not be required to accept two arguments taylanbayirli@xxxxxx (10 Nov 2015 13:00 UTC)
Re: hash functions should not be required to accept two arguments William D Clinger (10 Nov 2015 13:50 UTC)
Re: hash functions should not be required to accept two arguments taylanbayirli@xxxxxx (10 Nov 2015 14:27 UTC)
Hash salt John Cowan (10 Nov 2015 06:37 UTC)
Re: Hash salt taylanbayirli@xxxxxx (10 Nov 2015 10:00 UTC)
Re: Hash salt John Cowan (11 Nov 2015 05:21 UTC)
Re: Hash salt Shiro Kawai (11 Nov 2015 05:59 UTC)
Re: Hash salt John Cowan (11 Nov 2015 06:22 UTC)
Re: Hash salt taylanbayirli@xxxxxx (11 Nov 2015 07:54 UTC)
Re: hash functions should not be required to accept two arguments taylanbayirli@xxxxxx (10 Nov 2015 09:58 UTC)

Re: Hash salt John Cowan 11 Nov 2015 05:21 UTC

Taylan Ulrich Bayırlı/Kammer scripsit:

> Returns a global and constant salt value for use in hash functions.
> This is a random value for every run of the program,

This forbids a particularly paranoid implementation from using a
distinct salt for each hash table and storing it with the hash table.
I've made several tries at rewording to allow this use case, but I
can't think how to put it.

> except when the environment variable `SRFI_126_HASH_SEED` is set to
> a non-empty string before program startup.

I think this part should be left up to implementations.  In any case,
it's not clear what its force is: does this make the salt constant,
or the result of converting to the string to an exact integer, or what?

--
My .sigs are from my large and miscellaneous reading both on and off the net.
Occasionally I hear one viva voce or make one up (without attribution,
of course).  I try to stay within the McQuary limit, but sometimes fail,
as in this case.  In general, the quotes are chosen at random by a script
from <http://www.ccil.org/~cowan/signatures>, but sometimes I choose one
on purpose.  I've been collecting and using them for 30+ years.