chickadee » crypt » crypt-default-random-u8vector

crypt-default-random-u8vector #!optional procparameter

The default implementation to use by crypt-gensalt as a source of randomly-filled u8vectors. This procedure should accept two integer arguments; a minimum and a maximum length for the u8vector to return. The maximum may also be #f if there is no upper bound.

Defaults to crypt-maximum-random-u8vector, which uses the pseudo-random-integer procedure which is provided by the CHICKEN (chicken random) module. This is relatively strong, so you no longer need to override it for security reasons (in CHICKEN 4 this used to be necessary).