package octez-libs

  1. Overview
  2. Docs
A package that contains multiple base libraries used by the Octez suite

Install

Dune Dependency

Authors

Maintainers

Sources

octez-19.1.tar.gz
sha256=55ea1fb8bb3273a7fc270ca8f650d45c56449665619482aad9bc12f3ea736b7e
sha512=fec850fc2d17d7490bbabd5147d62aad13b3aaed8774270f8a38ab419670ed03e0fd30cf8642a97984eca5c2446726fe590ad99c015f7ec50919dc7652f25053

doc/octez-libs.crypto/Tezos_crypto/Hacl/Box/index.html

Module Hacl.BoxSource

Sourcetype combined
Sourcetype _ key =
  1. | Sk : Bytes.t -> secret key
  2. | Pk : Bytes.t -> public key
  3. | Ck : Bytes.t -> combined key
Sourceval skbytes : int
Sourceval pkbytes : int
Sourceval ckbytes : int
Sourceval tagbytes : int
Sourceval unsafe_to_bytes : 'a. 'a key -> Bytes.t
Sourceval blit_to_bytes : 'a. 'a key -> ?pos:int -> Bytes.t -> unit
Sourceval equal : 'a. 'a key -> 'a key -> bool
Sourceval unsafe_sk_of_bytes : Bytes.t -> secret key
Sourceval unsafe_pk_of_bytes : Bytes.t -> public key
Sourceval unsafe_ck_of_bytes : Bytes.t -> combined key
Sourceval of_seed : ?pos:int -> bytes -> secret key
Sourceval basepoint : bytes
Sourceval neuterize : secret key -> public key
Sourceval keypair : unit -> public key * secret key
Sourceval box : k:combined key -> nonce:Hacl_star__Hacl.bytes -> msg:Hacl_star__Hacl.bytes -> cmsg:Hacl_star__Hacl.bytes -> unit
Sourceval box_open : k:combined key -> nonce:Hacl_star__Hacl.bytes -> cmsg:Hacl_star__Hacl.bytes -> msg:Hacl_star__Hacl.bytes -> bool
Sourceval box_noalloc : k:combined key -> nonce:Hacl_star__Hacl.bytes -> tag:Hacl_star__Hacl.bytes -> buf:Hacl_star__Hacl.bytes -> unit
Sourceval box_open_noalloc : k:combined key -> nonce:Hacl_star__Hacl.bytes -> tag:Hacl_star__Hacl.bytes -> buf:Hacl_star__Hacl.bytes -> bool
OCaml

Innovation. Community. Security.