Entropy
Extends:
Static Method Summary
Static Public Methods | ||
public static |
|
|
public static |
unserialize(buf: SerialBuffer): Entropy |
Member Summary
Public Members | ||
public get |
serializedSize: number |
Method Summary
Public Methods | ||
public |
equals(o: Serializable): boolean |
|
public |
Overwrite this entropy with a replacement in-memory |
|
public |
serialize(buf: SerialBuffer): SerialBuffer |
|
public |
toExtendedPrivateKey(password: string, wordlist: Array<string>): ExtendedPrivateKey |
|
public |
toMnemonic(wordlist: Array<string>): Array<string> |
Inherited Summary
From class Serializable | ||
public |
compare(o: Serializable): number |
|
public |
equals(o: Serializable): boolean |
|
public |
hashCode(): * |
|
public abstract |
serialize(buf: SerialBuffer) |
|
public |
toBase64(): string |
|
public |
toHex(): string |
|
public |
toString(): string |
From class Secret | ||
public static |
fromEncrypted(buf: SerialBuffer, key: Uint8Array): Promise<PrivateKey|Entropy> |
|
public get |
encryptedSize: number |
|
public get |
type: Secret.Type |
|
public |
async exportEncrypted(key: Uint8Array): Promise<SerialBuffer> |
Static Public Methods
public static unserialize(buf: SerialBuffer): Entropy source
Params:
Name | Type | Attribute | Description |
buf | SerialBuffer |
Public Members
public get serializedSize: number source
Public Methods
public equals(o: Serializable): boolean source
Override:
Serializable#equalsParams:
Name | Type | Attribute | Description |
o | Serializable |
Return:
boolean |
public overwrite(entropy: Entropy) source
Overwrite this entropy with a replacement in-memory
Params:
Name | Type | Attribute | Description |
entropy | Entropy |
public serialize(buf: SerialBuffer): SerialBuffer source
Override:
Serializable#serializeParams:
Name | Type | Attribute | Description |
buf | SerialBuffer |
|
public toExtendedPrivateKey(password: string, wordlist: Array<string>): ExtendedPrivateKey source
Params:
Name | Type | Attribute | Description |
password | string |
|
|
wordlist | Array<string> |
|
public toMnemonic(wordlist: Array<string>): Array<string> source
Params:
Name | Type | Attribute | Description |
wordlist | Array<string> |
|
Return:
Array<string> |