Created
June 21, 2019 01:29
-
-
Save mcr/089fe7206644f417ba213c9dfe093c7a to your computer and use it in GitHub Desktop.
ECDSA keys, OpenSSL 1.0 vs 1.1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
obiwan-[shg/MEDKIT/tmp](2.6.2) mcr 10225 %./A.sh | |
OpenSSL 1.1.0j 20 Nov 2018 (Library: OpenSSL 1.1.1c-dev xx XXX xxxx) | |
Generating an EC private key | |
writing new private key to 'shg.key' | |
----- | |
read EC key | |
Private-Key: (256 bit) | |
priv: | |
92:a5:2b:58:5e:8c:f9:67:55:26:64:b1:a1:17:fa: | |
30:c0:5f:3f:e6:bf:7e:41:2b:f0:0e:3b:8d:0a:92: | |
3b:75 | |
pub: | |
04:f6:bf:f0:b9:d9:9f:5f:55:76:79:7f:5d:62:6b: | |
e8:8b:0c:d7:fe:7b:a1:ed:0d:23:8a:b0:a3:11:f8: | |
b7:c5:b2:e4:2a:95:45:ce:6f:24:f2:12:86:f7:95: | |
43:af:f7:a4:06:ae:18:1f:cf:12:e2:9e:3e:95:7f: | |
35:e6:b3:ff:f8 | |
ASN1 OID: prime256v1 | |
NIST CURVE: P-256 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
istari-[projects/shg/MEDKIT/tmp] mcr 10009 %./A.sh | |
OpenSSL 1.0.2l 25 May 2017 | |
Generating a 2048 bit EC private key | |
writing new private key to 'shg.key' | |
----- | |
read EC key | |
Private-Key: (256 bit) | |
priv: | |
60:f0:e0:18:ae:b4:86:d5:ac:94:60:9e:6c:62:b6: | |
99:43:ac:1c:c6:98:f5:bf:3e:d5:85:0b:46:1e:48: | |
7d:72 | |
pub: | |
04:c5:e6:dc:fc:df:c1:c0:c2:88:c0:b8:c2:dc:d0: | |
fa:1c:3a:84:1a:52:66:8c:fb:a1:bf:c9:77:e1:fa: | |
41:33:9a:33:2a:a8:73:ff:70:1b:3d:bb:d9:cf:a0: | |
bb:9f:78:14:37:3a:f8:55:bc:7a:86:a3:c2:66:ea: | |
b8:e9:3d:05:5d | |
Field Type: prime-field | |
Prime: | |
00:ff:ff:ff:ff:00:00:00:01:00:00:00:00:00:00: | |
00:00:00:00:00:00:ff:ff:ff:ff:ff:ff:ff:ff:ff: | |
ff:ff:ff | |
A: | |
00:ff:ff:ff:ff:00:00:00:01:00:00:00:00:00:00: | |
00:00:00:00:00:00:ff:ff:ff:ff:ff:ff:ff:ff:ff: | |
ff:ff:fc | |
B: | |
5a:c6:35:d8:aa:3a:93:e7:b3:eb:bd:55:76:98:86: | |
bc:65:1d:06:b0:cc:53:b0:f6:3b:ce:3c:3e:27:d2: | |
60:4b | |
Generator (uncompressed): | |
04:6b:17:d1:f2:e1:2c:42:47:f8:bc:e6:e5:63:a4: | |
40:f2:77:03:7d:81:2d:eb:33:a0:f4:a1:39:45:d8: | |
98:c2:96:4f:e3:42:e2:fe:1a:7f:9b:8e:e7:eb:4a: | |
7c:0f:9e:16:2b:ce:33:57:6b:31:5e:ce:cb:b6:40: | |
68:37:bf:51:f5 | |
Order: | |
00:ff:ff:ff:ff:00:00:00:00:ff:ff:ff:ff:ff:ff: | |
ff:ff:bc:e6:fa:ad:a7:17:9e:84:f3:b9:ca:c2:fc: | |
63:25:51 | |
Cofactor: 1 (0x1) | |
Seed: | |
c4:9d:36:08:86:e7:04:93:6a:66:78:e1:13:9d:26: | |
b7:81:9f:7e:90 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment