Change fortuna seed from :random to :urandom.

:random was taking too long to seed.
master
Thomas Hintz 11 years ago
parent aec0e2a7c1
commit d62bce3299

@ -1,6 +1,6 @@
(in-package :cl-password) (in-package :cl-password)
(defparameter *prng* (make-prng :fortuna :seed :random)) (defparameter *prng* (make-prng :fortuna :seed :urandom))
(defun make-random-salt (&optional (size 16)) (defun make-random-salt (&optional (size 16))
(random-data size *prng*)) (random-data size *prng*))

Loading…
Cancel
Save