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