SignatureType
SignatureType is the type of a cryptographic signature.
Properties
Type: enum (string)
Values
Name | Format | Size |
---|---|---|
ecdsa | r (32-bytes) + s (32-bytes) | 64 bytes |
ecdsa_recovery | r (32-bytes) + s (32-bytes) + v (1-byte) | 65 bytes |
ed25519 | R (32-bytes) + s (32-bytes) | 64 bytes |
schnorr_1 | r (32-bytes) + s (32-bytes) | 64 bytes |
schnorr_poseidon | r (32-bytes) + s (32-bytes) where s = Hash(1st pk + 2nd pk + r) | 64 bytes |
Additional Details
schnorr_1
is a EC-Schnorr signature implemented by Zilliqa where both r
and s
are scalars encoded as 32-bytes
values, most significant byte first. Refer to Zilliqa's Schnorr Library and Zilliqa Technical Whitepaper - Appendix A: Schnorr Digital Signature for details.)
schnorr_poseidon
is an EC-schnorr signature with Poseidon hash function implemented by O(1) Labs where both r
and s
are scalars encoded as 32-bytes
little-endian values. Refer to Mina's signer reference implementation
Example
"ecdsa"