tezos-crypto

Tezos: library with all the cryptographic primitives used by Tezos
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library tezos-crypto
Module Tezos_crypto . Rand
val generate : int -> Bytes.t

generate len is len random bytes.

val generate_into : ?pos:int -> ?len:int -> Bytes.t -> unit

generate_into ?pos ?len buf writes len (default: Bigstring.length buf) bytes in buf starting at pos (default: 0).