package tezos-base

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type key = Tezos_hacl_glue__Hacl.Secretbox.key
val keybytes : int
val tagbytes : int
val unsafe_of_bytes : Stdlib.Bytes.t -> key
val blit_of_bytes : Stdlib.Bytes.t -> int -> key
val genkey : unit -> key
val secretbox : key:key -> nonce:Stdlib.Bytes.t -> msg:Stdlib.Bytes.t -> cmsg:Stdlib.Bytes.t -> unit
val secretbox_open : key:key -> nonce:Stdlib.Bytes.t -> cmsg:Stdlib.Bytes.t -> msg:Stdlib.Bytes.t -> bool
OCaml

Innovation. Community. Security.