Updated Blind signature specification (markdown)

Peter Šurda 2020-03-28 17:14:35 +08:00
parent 052a7da931
commit ccd35ff9bd

@ -11,7 +11,7 @@ Blind signatures use the following primitives which need to be saved into a file
**Private key (32B)**: private key is a 256 bit bignum **Private key (32B)**: private key is a 256 bit bignum
**Public key**: public key is two bytes of parameters followed by an EC Point as described above **Public key** (35B): public key is two bytes of parameters followed by an EC Point as described above
- first byte is expiration, split into two 4-bit parts. The lower 4 bits are month (0 - 11), and the higher 4 bits are year (add 2020 to get the actual year). For example 0x03 is April 2020. - first byte is expiration, split into two 4-bit parts. The lower 4 bits are month (0 - 11), and the higher 4 bits are year (add 2020 to get the actual year). For example 0x03 is April 2020.
- second byte is value (1-255) - second byte is value (1-255)
- the rest of the bytes (33B) is an EC point - the rest of the bytes (33B) is an EC point