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/DH/index.html

Module Raw.DHSource

See spec section 4.17

Sourcetype esk = R.esk
Sourceval esk_random : unit -> R.esk
Sourcetype epk = R.epk
Sourceval derive_ephemeral : Viewing_key.address -> R.esk -> R.epk

Derives the public part of the DH for the sender. (ie. epk is used for symkey_receiver).

Sourceval kdf_key : string

Derives a symmetric key to be used to create the ciphertext on the sender side.

OCaml

Innovation. Community. Security.