Skip to content

Commit

Permalink
contracts/generateSigningKeypair: Doc explicit sk size
Browse files Browse the repository at this point in the history
  • Loading branch information
matevz committed Oct 14, 2024
1 parent c28da8f commit 9f5aa5a
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions contracts/contracts/Sapphire.sol
Original file line number Diff line number Diff line change
Expand Up @@ -321,16 +321,18 @@ library Sapphire {
* ##### Secp256r1: 4,000 gas
* - `7` (`Secp256r1PrehashedSha256`)
*
* #### Public Key Format
* #### Key Formats
*
* ##### Ed25519
*
* 32 bytes
* Public key: 32 bytes
* Secret key: 32 bytes (=the seed)
*
* ##### Secp256k1 & Secp256r1
*
* 33 bytes, compressed format (`0x02` or `0x03` prefix, then 32 byte X
* coordinate).
* Public key: 33 bytes, compressed format (`0x02` or `0x03` prefix, then 32
* byte X coordinate).
* Secret key: 32 bytes (=the seed)
*
* #### Example
*
Expand Down

0 comments on commit 9f5aa5a

Please sign in to comment.