package hacl
Module Hacl.Secretbox
val unsafe_of_bytes : Bigstring.t -> keyval blit_of_bytes : Bigstring.t -> int -> keyval genkey : unit -> keyval box :
key:key ->
nonce:Bigstring.t ->
msg:Bigstring.t ->
cmsg:Bigstring.t ->
unitval box_open :
key:key ->
nonce:Bigstring.t ->
cmsg:Bigstring.t ->
msg:Bigstring.t ->
bool