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.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.