CurveType
CurveType is the type of cryptographic curve associated with a PublicKey.
Properties
Type: enum (string)
Values
| Name | Format | Size | Description |
|---|---|---|---|
| secp256k1 | SEC Compressed | 33 bytes | https://secg.org/sec1-v2.pdf#subsubsection.2.3.3 |
| secp256r1 | SEC compressed | 33 bytes | https://secg.org/sec1-v2.pdf#subsubsection.2.3.3 |
| edwards25519 | y (255-bits) + x-sign-bit (1-bit) | 32 bytes | https://ed25519.cr.yp.to/ed25519-20110926.pdf |
| tweedle | 1st pk : Fq.t (32 bytes) + 2nd pk : Fq.t (32 bytes) | 64 bytes | https://github.com/MinaProtocol/mina/blob/develop/rfcs/0038-rosetta-construction-api.md#marshal-keys |
| pallas | x (255 bits) + y-parity-bit (1-bit) | 32 bytes | https://github.com/zcash/pasta |
Example
"secp256k1"