23 Random
(require koyo/random) | package: koyo-lib |
This module contains utilities for generating cryptographically-secure random strings.
parameter
→ (-> exact-positive-integer? non-empty-string?) (current-random-string-generator generator) → void? generator : (-> exact-positive-integer? non-empty-string?)
= generate-random-string
procedure
(generate-random-string [len]) → non-empty-string?
len : (exact-nonnegative-integer?) = 64
Generates a random string of length len in a
cryptographically-secure manner.