C# Class Paymetheus.Bitcoin.Wallet.PgpWordList

Afficher le fichier Open project: btcsuite/Paymetheus Class Usage Examples

Méthodes publiques

Méthode Description
Decode ( string words ) : byte[]

Creates the original byte stream for a PGP word list encoding.

Encode ( byte value ) : string[]

Create the PGP word list encoding of a byte stream.

PgpWordList ( ) : System

Private Methods

Méthode Description
CaseInsensitive ( string word ) : string
MismatchedIndex ( int byteIndex, ushort wordListIndex ) : bool
OriginalByte ( ushort wordIndex ) : byte
WordListIndex ( byte b, int byteIndex ) : int

Method Details

Decode() public méthode

Creates the original byte stream for a PGP word list encoding.
The words argument is null /// The words argument is not a valid PGP word list encoding ///
public Decode ( string words ) : byte[]
words string The encoded byte stream
Résultat byte[]

Encode() public méthode

Create the PGP word list encoding of a byte stream.
The value argument is null
public Encode ( byte value ) : string[]
value byte The byte stream to encode
Résultat string[]

PgpWordList() public méthode

public PgpWordList ( ) : System
Résultat System