package octez-libs

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

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.