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 DotNetLightning.Peer
for e.g. 3-way handshake and establishing the connection.
Type | Description |
Function or value | Description |
Full Usage:
ERROR_PACKET_LENGTH
Returns: int
|
|
Full Usage:
MAX_ERROR_PAYLOAD_LENGTH
Returns: int
|
|
Full Usage:
MacLength
Returns: int
|
|
Full Usage:
MaxHops
Returns: int
|
|
Full Usage:
PACKET_LENGTH
Returns: int
|
|
Full Usage:
PayloadLength
Returns: int
|
|
Full Usage:
VERSION
Returns: byte
|
|
Full Usage:
forwardErrorPacket (packet, ss)
Parameters:
byte array
ss : byte array
Returns: byte[]
|
|
Full Usage:
parsePacket nodePrivateKey ad rawPacket
Parameters:
Key
ad : byte array
rawPacket : byte array
Returns: Result<ParsedPacket, CryptoError>
|
|