Bip32SigningKey.fromValidBytes constructor

Bip32SigningKey.fromValidBytes(
  1. Uint8List secret, {
  2. int depth = 0,
})

Implementation

Bip32SigningKey.fromValidBytes(Uint8List secret, {this.depth = 0})
    : _verifyKey = _toPublic(validateKeyBits(secret)),
      super.fromValidBytes(validateKeyBits(secret), keyLength: keyLength) {
  _chainCode = ChainCode(suffix);
}