Package fr.acinq.lightning.crypto

Types

ChaCha20
Link copied to clipboard
common
class ChaCha20(key: ByteArray, nonce: ByteArray, counter: Int)
ChaCha20Poly1305
Link copied to clipboard
common
object ChaCha20Poly1305

ChaCha20Poly1305 AEAD (Authenticated Encryption with Additional Data) algorithm see https://tools.ietf.org/html/rfc7539#section-2.5

Generators
Link copied to clipboard
common
object Generators
KeyManager
Link copied to clipboard
common
interface KeyManager
LocalKeyManager
Link copied to clipboard
common
data class LocalKeyManager(seed: ByteVector, chainHash: ByteVector32) : KeyManager
Poly1305
Link copied to clipboard
common
class Poly1305

Poly1305 message authentication code, designed by D. J. Bernstein.

RouteBlinding
Link copied to clipboard
common
object RouteBlinding
ShaChain
Link copied to clipboard
common
data class ShaChain(knownHashes: Map<List<Boolean>, ByteVector32>, lastIndex: Long?)