java.lang.Object
com.hedera.hashgraph.sdk.utils.Bip32Utils
Utility class for BIP32 functionalities
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIndicates if the index is hardened -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisHardenedIndex(int index) Check if the index is hardenedstatic inttoHardenedIndex(int index) Harden the index
-
Field Details
-
HARDENED_BIT
public static final int HARDENED_BITIndicates if the index is hardened- See Also:
-
-
Method Details
-
toHardenedIndex
public static int toHardenedIndex(int index) Harden the index- Parameters:
index- the derivation index- Returns:
- the hardened index
-
isHardenedIndex
public static boolean isHardenedIndex(int index) Check if the index is hardened- Parameters:
index- the derivation index- Returns:
- true if the index is hardened
-