DotNetLightning


MnemonicExtensions Type

Static members

Static member Description

MnemonicExtensions.ChangePass(this, oldPass, newPass, ?lang)

Full Usage: MnemonicExtensions.ChangePass(this, oldPass, newPass, ?lang)

Parameters:
Returns: Result<Mnemonic, AezeedError>
this : Mnemonic
oldPass : byte array
newPass : byte array
?lang : Wordlist
Returns: Result<Mnemonic, AezeedError>

MnemonicExtensions.ToCipherSeed(this, password, lang)

Full Usage: MnemonicExtensions.ToCipherSeed(this, password, lang)

Parameters:
Returns: Result<CipherSeed, AezeedError>
this : Mnemonic
password : byte array option
lang : Wordlist option
Returns: Result<CipherSeed, AezeedError>

MnemonicExtensions.ToCipherSeed(this, ?password, ?lang)

Full Usage: MnemonicExtensions.ToCipherSeed(this, ?password, ?lang)

Parameters:
Returns: Result<CipherSeed, AezeedError>
this : Mnemonic
?password : byte
?lang : Wordlist
Returns: Result<CipherSeed, AezeedError>

MnemonicExtensions.ToCipherSeed(this, ?password)

Full Usage: MnemonicExtensions.ToCipherSeed(this, ?password)

Parameters:
Returns: Result<CipherSeed, AezeedError>

Attempts to map the mnemonic to the original cipher text byte slice. Then It will attempt to decrypt the ciphertext using aez with the passed passphrase, using the last 5 bytes of the ciphertext as a salt for the KDF.

this : Mnemonic
?password : byte
Returns: Result<CipherSeed, AezeedError>

MnemonicExtensions.ToCipherSeed(this, ?password)

Full Usage: MnemonicExtensions.ToCipherSeed(this, ?password)

Parameters:
Returns: Result<CipherSeed, AezeedError>

Attempts to map the mnemonic to the original cipher text byte slice. Then It will attempt to decrypt the ciphertext using aez with the passed passphrase, using the last 5 bytes of the ciphertext as a salt for the KDF.

this : Mnemonic
?password : string
Returns: Result<CipherSeed, AezeedError>