loadPrivateKey static method

ECPrivateKey loadPrivateKey(
  1. String storedkey
)

return a privateKey from hex string

Implementation

static ECPrivateKey loadPrivateKey(String storedkey) {
  final d = BigInt.parse(storedkey, radix: 16);
  final param = ECCurve_secp256k1();
  return ECPrivateKey(d, param);
}