bip32_utils
Module with BIP32 utility functions.
- class Bip32Utils
Bases:
object
BIP32 utility class. It contains some helper methods for Bip32 indexes.
Deprecated: only for compatibility, methods were moved to Bip32KeyIndex.
- static HardenIndex(index: int) int
Harden the specified index and return it.
- Parameters:
index (int) – Index
- Returns:
Hardened index
- Return type:
int
- static UnhardenIndex(index: int) int
Unharden the specified index and return it.
- Parameters:
index (int) – Index
- Returns:
Unhardened index
- Return type:
int
- static IsHardenedIndex(index: int) bool
Get if the specified index is hardened.
- Parameters:
index (int) – Index
- Returns:
True if hardened, false otherwise
- Return type:
bool