Bip32KeyIndex.unhardenIndex constructor

Bip32KeyIndex.unhardenIndex(
  1. int index
)

Unharden the specified index and return it.

Implementation

factory Bip32KeyIndex.unhardenIndex(int index) {
  return Bip32KeyIndex(
      BitUtils.resetBit(index, Bip32KeyDataConst.keyIndexHardenedBitNum));
}