We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43ac7f2 commit 44fd73aCopy full SHA for 44fd73a
lib/elliptic/curves.js
@@ -204,3 +204,20 @@ defineCurve('secp256k1', {
204
pre,
205
],
206
});
207
+
208
+defineCurve('secp160r1', {
209
+ type: 'short',
210
+ prime: 'r160',
211
+ p: 'FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF7FFFFFFF',
212
+ a: 'FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF7FFFFFFC',
213
+ b: '1C97BEFC54BD7A8B65ACF89F81D4D4ADC565FA45',
214
+ n: '0100000000000000000001F4C8F927AED3CA752257',
215
+ h: '1',
216
+ hash: hash.sha256,
217
218
+ gRed: false,
219
+ g: [
220
+ '4A96B5688EF573284664698968C38BB913CBFC82',
221
+ '23A628553168947D59DCC912042351377AC5FB32',
222
+ ],
223
+});
0 commit comments