package hacl
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Module Hacl.Box
val unsafe_to_bytes : _ key -> Bigstring.tunsafe_to_bytes k is the internal Bigstring.t where the key is stored. DO NOT MODIFY.
val blit_to_bytes : _ key -> ?pos:int -> Bigstring.t -> unitval unsafe_sk_of_bytes : Bigstring.t -> secret keyval unsafe_pk_of_bytes : Bigstring.t -> public keyval unsafe_ck_of_bytes : Bigstring.t -> combined keyval of_seed : ?pos:int -> Bigstring.t -> secret keyval box :
k:combined key ->
nonce:Bigstring.t ->
msg:Bigstring.t ->
cmsg:Bigstring.t ->
unitval box_open :
k:combined key ->
nonce:Bigstring.t ->
cmsg:Bigstring.t ->
msg:Bigstring.t ->
bool