DotNetLightning


CipherSeed Type

CipherSeed is a fully decoded instance of the aezeed scheme. You can convert from/to NBitcoin.Mnemonic by CipherSeed.ToMnemonic Mnemonic.ToCipherSeed Aezeed in lnd

Record fields

Record Field Description

Birthday

Full Usage: Birthday

Field type: uint16
Field type: uint16

Entropy

Full Usage: Entropy

Field type: byte array
Field type: byte array

InternalVersion

Full Usage: InternalVersion

Field type: uint8
Field type: uint8

Salt

Full Usage: Salt

Field type: byte array
Field type: byte array

Instance members

Instance member Description

this.Encipher

Full Usage: this.Encipher

Parameters:
    password : byte array option

Returns: byte array

Takes a fully populated cipherseed instance, and enciphers the encoded seed, then appends a randomly generated seed used to stretch th passphrase out into an appropriate key, then computes a checksum over the preceding. Returns 33 bytes enciphered cipherseed

password : byte array option
Returns: byte array

this.Encipher

Full Usage: this.Encipher

Parameters:
    ?password : byte

Returns: byte array
?password : byte
Returns: byte array

this.Encipher

Full Usage: this.Encipher

Returns: byte array
Returns: byte array

this.GetBirthdayTime

Full Usage: this.GetBirthdayTime

Returns: DateTimeOffset
Returns: DateTimeOffset

this.ToMnemonic

Full Usage: this.ToMnemonic

Parameters:
Returns: Mnemonic
?password : byte
?lang : Wordlist
Returns: Mnemonic

this.ToMnemonic

Full Usage: this.ToMnemonic

Parameters:
    password : byte array option
    lang : Wordlist option

Returns: Mnemonic
password : byte array option
lang : Wordlist option
Returns: Mnemonic

this.ToMnemonicWords

Full Usage: this.ToMnemonicWords

Parameters:
Returns: string[]
?password : byte
?lang : Wordlist
Returns: string[]

this.ToMnemonicWords

Full Usage: this.ToMnemonicWords

Parameters:
    password : byte array option
    lang : Wordlist option

Returns: string[]
password : byte array option
lang : Wordlist option
Returns: string[]

Static members

Static member Description

CipherSeed.Create(internalVersion, entropy, now)

Full Usage: CipherSeed.Create(internalVersion, entropy, now)

Parameters:
    internalVersion : uint8
    entropy : byte array option
    now : DateTimeOffset

Returns: CipherSeed
internalVersion : uint8
entropy : byte array option
now : DateTimeOffset
Returns: CipherSeed

CipherSeed.Create(internalVersion, entropy, now)

Full Usage: CipherSeed.Create(internalVersion, entropy, now)

Parameters:
Returns: CipherSeed
internalVersion : uint8
entropy : byte array
now : DateTimeOffset
Returns: CipherSeed

CipherSeed.Create(internalVersion, now)

Full Usage: CipherSeed.Create(internalVersion, now)

Parameters:
Returns: CipherSeed
internalVersion : uint8
now : DateTimeOffset
Returns: CipherSeed

CipherSeed.Create(internalVersion)

Full Usage: CipherSeed.Create(internalVersion)

Parameters:
    internalVersion : uint8

Returns: CipherSeed
internalVersion : uint8
Returns: CipherSeed

CipherSeed.Create()

Full Usage: CipherSeed.Create()

Returns: CipherSeed
Returns: CipherSeed