public static Seed FromMnemonic(Mnemonic mnemonic, string salt = "LIBRA") { var bytes = mnemonic.ToBytes().Pbkdf($"{Constant.KeyPrefixes.MnemonicSalt}{salt}", 2048, 32, HashAlgorithm.SHA3_256); return(new Seed(bytes)); }
public static Seed FromMnemonic(string[] words, string salt = "LIBRA") { var mnemonic = new Mnemonic(words); return(FromMnemonic(mnemonic, salt)); }