fromMnemonic

expect fun fromMnemonic(mnemonic: String, password: String = ""): BIP39

Generates ECC key using BIP-39 mnemonic.

Return

BIP39 object containing ECC Key and associated with it BIP-39 mnemonic and entropy

Parameters

mnemonic

the BIP-39 entropy used to generate the Key

password

the password used to generate the Key

Throws

thrown when method encounters an exception

thrown when method encounters an unknown exception

actual fun fromMnemonic(mnemonic: String, password: String): BIP39

Generates ECC key using BIP-39 mnemonic.

Return

BIP39 object containing ECC Key and associated with it BIP-39 mnemonic and entropy

Parameters

mnemonic

the BIP-39 entropy used to generate the Key

password

the password used to generate the Key

Throws

thrown when method encounters an exception

thrown when method encounters an unknown exception

thrown when instance is closed

actual external fun fromMnemonic(mnemonic: String, password: String): BIP39

Generates ECC key using BIP-39 mnemonic.

Return

BIP39 object containing ECC Key and associated with it BIP-39 mnemonic and entropy

Parameters

mnemonic

the BIP-39 entropy used to generate the Key

password

the password used to generate the Key

Throws

thrown when method encounters an exception

thrown when method encounters an unknown exception

thrown when instance is closed