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

tezos-18.1.tar.gz
sha256=aa2f5bc99cc4ca2217c52a1af2a2cdfd3b383208cb859ca2e79ca0903396ca1d
sha512=d68bb3eb615e3dcccc845fddfc9901c95b3c6dc8e105e39522ce97637b1308a7fa7aa1d271351d5933febd7476b2819e1694f31198f1f0919681f1f9cc97cb3a

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.