"DotNetLightning.Crypto" contains a cryptographic utilities to work with
LN. e.g.
1. Extension methods for key types to tweak/multiply
e.g. NBitcoin.Key.Mul
2. Aezeed CipherSeed
for managing node master key in seed phrase with
its birthday encoded. (useful when rescanning the blockchain)
This is a port of the aezeed in lnd.
3. Sphinx packet decoding/encoding described in bolt04
4. PerCommitmentSecretStore
to hold "per_commitment_secret" in an
efficient way.
Type/Module | Description |
CipherSeed is a fully decoded instance of the
aezeed scheme.
You can convert from/to |
|
An interface responsible for set of low-level cryptographic operation.
We need this because there are several types of secp256k1 implementation
* 1. |
|
Module to work with sphinx encryption. Which is used in lightning network p2p onion routing. see bolt04 for more detail. Usually you want to use high-level wrapper in |