package tezos-sapling

  1. Overview
  2. Docs

A Diffie-Hellman key exchange is done between the payer and the recipient to encrypt the ciphertext. This can be done off or on chain. *

type esk
val esk_random : unit -> esk

Generate a random scalar to be used by the sender for DH. *