hacl
Tezos binding for Hacl*
1024" x-on:close-sidebar="sidebar=window.innerWidth > 1024 && true">
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
val unsafe_to_bytes : _ key -> Bigstring.t
unsafe_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 -> unit
val unsafe_sk_of_bytes : Bigstring.t -> secret key
val unsafe_pk_of_bytes : Bigstring.t -> public key
val unsafe_ck_of_bytes : Bigstring.t -> combined key
val of_seed : ?pos:int -> Bigstring.t -> secret key
val box :
k:combined key ->
nonce:Bigstring.t ->
msg:Bigstring.t ->
cmsg:Bigstring.t ->
unit
val box_open :
k:combined key ->
nonce:Bigstring.t ->
cmsg:Bigstring.t ->
msg:Bigstring.t ->
bool