hopr_crypto_sphinx

Module shared_keys

Source
Expand description

Derivation of shared keys for SPHINX header

Structs§

SharedKeys
Structure containing shared keys for peers using the Sphinx algorithm.

Traits§

GroupElement
Generic additive abelian group element with an associated scalar type. It also comes with the associated Alpha value size. A group element is considered valid if it is not neutral or a torsion element of small order.
Scalar
Types representing a valid non-zero scalar an additive abelian group.
SphinxSuite
Represents an instantiation of the Spinx protocol using the given EC group and corresponding public key object.

Type Aliases§

Alpha
Represents the Alpha value of a certain length in the Sphinx protocol The length of the alpha value is directly dependent on the group element.
SharedSecret
Represents a shared secret with a remote peer.