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.0.tar.gz
sha256=dbc3b675aee59c2c574e5d0a771193a2ecfca31e7a5bc5aed66598080596ce1c
sha512=b97ed762b9d24744305c358af0d20f394376b64bfdd758dd4a81775326caf445caa57c4f6445da3dd6468ff492de18e4c14af6f374dfcbb7e4d64b7b720e5e2a

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.