// See file LICENSE for more information. library impl.ec_domain_parameters.secp160k1; import 'package:pointycastle/ecc/api.dart'; import 'package:pointycastle/ecc/ecc_base.dart'; import 'package:pointycastle/src/ec_standard_curve_constructor.dart'; import 'package:pointycastle/src/registry/registry.dart'; // ignore: camel_case_types class ECCurve_secp160k1 extends ECDomainParametersImpl { static final FactoryConfig factoryConfig = StaticFactoryConfig( ECDomainParameters, 'secp160k1', () => ECCurve_secp160k1()); factory ECCurve_secp160k1() => constructFpStandardCurve( 'secp160k1', ECCurve_secp160k1._make, q: BigInt.parse('fffffffffffffffffffffffffffffffeffffac73', radix: 16), a: BigInt.parse('0', radix: 16), b: BigInt.parse('7', radix: 16), g: BigInt.parse( '043b4c382ce37aa192a4019e763036f4f5dd4d7ebb938cf935318fdced6bc28286531733c3f03c4fee', radix: 16), n: BigInt.parse('100000000000000000001b8fa16dfab9aca16b6b3', radix: 16), h: BigInt.parse('1', radix: 16), seed: null) as ECCurve_secp160k1; static ECCurve_secp160k1 _make(String domainName, ECCurve curve, ECPoint G, BigInt n, BigInt h, List? seed) => ECCurve_secp160k1._super(domainName, curve, G, n, h, seed); ECCurve_secp160k1._super(super.domainName, super.curve, super.G, super.n, BigInt super._h, super.seed); }