Web3S_Demo > Web 3S Mnemonic Function Library > ConvertMnemonicToSeed

ConvertMnemonicToSeed

Converts mnemonic to seed using PBKDF2 function with HMAC-SHA512 digest type.

Inputs

In
Exec

Mnemonic Sentence
String

the mnemonic sentence.

Passphrase
String

optionally, passphrase can be added for mnemonic protection.

Outputs

Out
Exec

Error Message
String

if conversion process failed will contain error message, otherwise empty.

Seed
Array of Bytes

if conversion process successful will return the seed, otherwise empty.

Success
Boolean

true if conversion process successful, otherwise false.