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.tezos-sapling/Tezos_sapling/Core/Raw/Ciphertext/index.html

Module Raw.CiphertextSource

Sourcetype t = {
  1. cv : CV.t;
  2. epk : DH.epk;
  3. payload_enc : Bytes.t;
  4. nonce_enc : Tezos_crypto.Crypto_box.nonce;
  5. payload_out : Bytes.t;
  6. nonce_out : Tezos_crypto.Crypto_box.nonce;
}
Sourcetype plaintext = {
  1. diversifier : Viewing_key.diversifier;
  2. amount : int64;
  3. rcm : Rcm.t;
  4. memo : Bytes.t;
}
Sourceval plaintext_encoding : plaintext Data_encoding.encoding
Sourceval get_memo_size : t -> int
Sourceval decompose_plaintext_out : bytes -> R.pkd * R.esk
Sourceval encrypt : int64 -> Viewing_key.address -> Viewing_key.t -> Rcm.t -> Bytes.t -> (R.cv * R.commitment * R.epk) -> R.esk -> t
Sourceval encrypt_without_ovk : int64 -> Viewing_key.address -> Rcm.t -> Bytes.t -> R.esk -> CV.t -> t
Sourceval decrypt : t -> Viewing_key.t -> (Viewing_key.address * int64 * Rcm.t * Bytes.t) option
Sourceval decrypt_ovk : t -> R.ovk -> (R.commitment * R.epk) -> (Viewing_key.address * int64 * Rcm.t * Bytes.t) option
OCaml

Innovation. Community. Security.