IPrivateKey.fromHex constructor

IPrivateKey.fromHex(
  1. String keyHex,
  2. EllipticCurveTypes type
)

Implementation

factory IPrivateKey.fromHex(String keyHex, EllipticCurveTypes type) {
  return IPrivateKey.fromBytes(BytesUtils.fromHexString(keyHex), type);
}