Skip to main content

EC Public Key

EC Public Key

In this post, we will learn how to get EC curve co-ordinate (X, Y) from uncompressed EC public key. If EC public certificate is in form of PEM certificate convert it into hex string. If converted hex hex string is starting with 04 it means uncompressed EC public key and if starting with 02 or 03 then it compressed EC public certificate.
Uncompressed EC public key hex, here 04 indicated it's uncompressed. Remove 04 and divide rest part in equal half and first half will be X co-ordinate and other half will be Y co-ordinate.

 04 04 ce 24 34 d4 cb f2 58 94 2f 8a 5f 06 d7 3f ed 5a
 50 ef fb cc b7 49 62 16 62 9e aa d5 30 a8 a5  

X: 04ce2434d4cbf258942f8a5f06d73fed
Y: 5a50effbccb7496216629eaad530a8a5



Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above.
Rozgardesh (रोजगार देश)

Comments

Popular posts from this blog

OFFSET in Computer Science

OFFSET in Computer Science In the post, We will understand what is the meaning of OFFSET in computer science with an example. In computer science offset comes picture at may place like packing a data structure, encoding the data etc in some standard protocol so that other parties can deserialise it and understand the data. We will understand its important how does it work with example. suppose we have a data structure for a student like { name:string[20] roll: int[4] course: string[25] batch: int[4] } We want to serialise below student data  { name:"Amit Gupta" roll: 1234 course:Computer Science" batch: 2018 } Our protocol follow the rule that we will insert a value and if space will remain empty we will fill it with $ for example length of "Amit Gupta" is 10 but standard size is 20 so will fill 10 $ after "Amit Gupta". So serialisation of above data will be Amit Gupta$$$$$$$$$$1234Computer Sc...

Clique in Graph

Clique in Graph In this tutorial, we will learn about the clique in the graph theory. Clique In graph theory, a clique is a subset of vertices of an undirected graph such that every two distinct vertices in the clique are adjacent. Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above.

Supplementary angles

Supplementary angles Supplementary angles  are two angles with a sum of  180 ^\circ 1 8 0 ∘ 180, degree . A common case is when they lie on the same side of a straight line.

Madhya Pradesh Power Generation Company Limited (MPPGCL) Recruitment

 Madhya Pradesh Power Generation Company Limited (MPPGCL) Recruitment     Madhya Pradesh Power Generation Company Limited (MPPGCL)  has released a notification for the post of   Apprentice. Company Name MPPGCL Post Name    Apprentice State Madhya Pradesh Salary Rs. NM Number of Vacancy 209 Eligibility ITI Last Date 31-12-2018 Application Details Job Notification Apply Online Job Application Madhya Pradesh Power Generation Company Limited (MPPGCL) Recruitment         Government Jobs in  Madhya Pradesh Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above.