Module Sihl.Random
val bytes : int -> string
bytes n
returns a byte sequence as string withn
random bytes. In most cases you want to usebase64
to get a string that can be used safely in most web contexts.
Sihl.Random
val bytes : int -> string
bytes n
returns a byte sequence as string with n
random bytes. In most cases you want to use base64
to get a string that can be used safely in most web contexts.