Mavryk_crypto.Rand
val generate : int -> Stdlib.Bytes.t
generate len is len random bytes.
generate len
len
val generate_into : ?pos:int -> ?len:int -> Stdlib.Bytes.t -> unit
generate_into ?pos ?len buf writes len (default: Bigstring.length buf) bytes in buf starting at pos (default: 0).
generate_into ?pos ?len buf
Bigstring.length buf
buf
pos
0