Read from some document about EOS key recovery method:
- Start from standard EOS address (53byte), for exp: EOS+(50byte base58);
- decode (50byte base58) to get 37byte (hex);
- remove last 4byte (checksum) then finally get 33byte, which will be the pub key.
My question are:
From my understanding the secp256-r1/k1 both using the ECC key which should be 256b (32Byte) but not 33Byte? So where does one additional byte come from?
Standard ECC key, public key have two section (x and y) both are 256bit--so-called EOS pub key--is that x section of the ECC pub-key? is the y section been used in the application?
As I check a final generated EOS signature, after convert base58 I get a 65byte hex, which is again 1 byte longer than a standard ECDSA signature?
Thanks so much.. below is a sample:
EOS Public key: 53byte
EOS7nEy2EKTKphcS9Wom8WP52XHv5SBZG3kdesUjjDZ3zX8uC4uGH
Step#(1.a) remove "EOS" then do base58 decode: (37Byte)
037CE6BD12275B21654B4A90FC7B61ADD06958004AC1ABFEF43645DD2A276B085BA119C52E
Step#(1.b) remove the last 4bytes: (33byte, why):
037CE6BD12275B21654B4A90FC7B61ADD06958004AC1ABFEF43645DD2A276B085B
/**********************/
EOS Private key: 51byte
5JTr4MQtwKXT4nygZKeyS3eYb9sDyqpMVjZKsJFNoG3oBggakcb
Step#(1.a) do base58 decode: (37Byte)
805548D274358135060E750B93F8E0AD0393218D19DBE5B40B734A71F0A6F24F7D92BE4E94
Step#(1.b) remove the last 4bytes: (33byte, why):
805548D274358135060E750B93F8E0AD0393218D19DBE5B40B734A71F0A6F24F7D