# Revision history [back]

### How to calculate “n” of elliptic curve(secp256k1 with enover p)?

Example:

secp192k1': _ECData( p=2192 - 232 - 212 - 28 - 27 - 26 - 2**3 - 1, a=0, b=3, Gx=0xDB4FF10EC057E9AE26B07D0280B7F4341DA5D1B1EAE06C7D, Gy=0x9B2F2F6D9C5628A7844163D015BE86344082AA88D95E2F9D, n=0xFFFFFFFFFFFFFFFFFFFFFFFE26F2FC170F69466A74DEFD8D

I have another curve (with another p(!), similar base point and equation ) parameters.

I need to calculate 'n

'. How can I do it with code in sage, python or another software please?

Br

 2 No.2 Revision dan_fulea 5467 ●5 ●43 ●92

### How to calculate “n” of elliptic curve(secp256k1 with enover p)?

Example:

secp192k1':  _ECData( p=2192 - 232 - 212 - 28 - 27 - 26 - 2**3 - 1, a=0, b=3,  Gx=0xDB4FF10EC057E9AE26B07D0280B7F4341DA5D1B1EAE06C7D,  Gy=0x9B2F2F6D9C5628A7844163D015BE86344082AA88D95E2F9D,
n=0xFFFFFFFFFFFFFFFFFFFFFFFE26F2FC170F69466A74DEFD8Dn=0xFFFFFFFFFFFFFFFFFFFFFFFE26F2FC170F69466A74DEFD8D


I have another curve (with another p(!), similar base point and equation ) parameters.

I need to calculate 'nn

'. How can I do it with code in sage, python or another software please?

Br

 3 None slelievre 17654 ●22 ●160 ●348 http://carva.org/samue...

### How to calculate “n” of elliptic curve(secp256k1 with enover p)?

Example:

secp192k1':

_ECData( p=2192 - 232 - 212 - 28 - 27 - 26 - 2**3 - 1, a=0, b=3,
Gx=0xDB4FF10EC057E9AE26B07D0280B7F4341DA5D1B1EAE06C7D,
Gy=0x9B2F2F6D9C5628A7844163D015BE86344082AA88D95E2F9D,
n=0xFFFFFFFFFFFFFFFFFFFFFFFE26F2FC170F69466A74DEFD8D


I have another curve (with another p(!), similar base point and equation ) parameters.

I need to calculate n

How can I do it with code in sage, python or another software please?

Br