Method | Description | |
---|---|---|
DecodeAndValidateUserInput ( string userInput, Paymetheus.Decred.Wallet.PgpWordList pgpWordList ) : byte[] |
Decodes user input as either the hexadecimal or PGP word list encoding of a seed and validates the seed length.
|
|
DoubleSha256 ( byte value ) : byte[] | ||
EncodeWordList ( Paymetheus.Decred.Wallet.PgpWordList pgpWordList, byte seed ) : string[] | ||
GenerateRandomSeed ( ) : byte[] |
Method | Description | |
---|---|---|
DecodeUserInput ( string userInput, Paymetheus.Decred.Wallet.PgpWordList pgpWordList ) : byte[] |
public static DecodeAndValidateUserInput ( string userInput, Paymetheus.Decred.Wallet.PgpWordList pgpWordList ) : byte[] | ||
userInput | string | |
pgpWordList | Paymetheus.Decred.Wallet.PgpWordList | |
return | byte[] |
public static DoubleSha256 ( byte value ) : byte[] | ||
value | byte | |
return | byte[] |
public static EncodeWordList ( Paymetheus.Decred.Wallet.PgpWordList pgpWordList, byte seed ) : string[] | ||
pgpWordList | Paymetheus.Decred.Wallet.PgpWordList | |
seed | byte | |
return | string[] |
public static GenerateRandomSeed ( ) : byte[] | ||
return | byte[] |