hopr_crypto_sphinx

Module prp

Source
Expand description

Implementation of the Lioness wide-block cipher using Chacha20 and Blake2b256

Structs§

PRP
Implementation of Pseudo-Random Permutation (PRP). Currently based on the Lioness wide-block cipher.
PRPParameters
Parameters for the Pseudo-Random Permutation (PRP) function This consists of IV and the raw secret key for use by the underlying cryptographic transformation.

Constants§

PRP_MIN_LENGTH