Bitcoin/public point to address: Difference between revisions

m
using better hex notation
(Created page with "{{draft task}} Bitcoin uses a specific encoding format to encode the digest of an wp:elliptic curve public point into a short ASCII string. The purpose of ...")
 
m (using better hex notation)
Line 1:
{{draft task}}
[[wp:Bitcoin|Bitcoin]] uses a specific encoding format to encode the digest of an [[wp:elliptic curve|elliptic curve]] public point into a short ASCII string. The purpose of this task is to perform such a conversion.
 
The encoding steps are:
Line 13:
 
Here is an example public point:
<pre>X = 0x50863AD64A87AE8A2FE83C1AF1A8403CB53F53E486D8511DAD8A04887E5B2352
<pre>X = 50863AD64A87AE8A2FE83C1AF1A8403CB53F53E486D8511DAD8A04887E5B2352
Y = 0x2CD470243453A299FA9E77237716103ABC11A1DF38855ED6F2EE187E9C582BA6</pre>
Y = 2CD470243453A299FA9E77237716103ABC11A1DF38855ED6F2EE187E9C582BA6</pre>
 
The corresponding address should be:
1,934

edits