KeyHandler
in package
Table of Contents
Methods
- generateBIP39Key() : array<string|int, mixed>
- Generate new Key Pair with BIP39 wordlist
- restoreBIP39Key() : array<string|int, mixed>
- Restore Key Pair from BIP39 wordlist
Methods
generateBIP39Key()
Generate new Key Pair with BIP39 wordlist
public
generateBIP39Key(string $keyName[, bool $compressed = false ]) : array<string|int, mixed>
Parameters
- $keyName : string
- $compressed : bool = false
Tags
Return values
array<string|int, mixed>restoreBIP39Key()
Restore Key Pair from BIP39 wordlist
public
restoreBIP39Key(string $keyName, string $phrase[, bool $compressed = false ]) : array<string|int, mixed>
Parameters
- $keyName : string
- $phrase : string
- $compressed : bool = false