Documentation
¶
Index ¶
- Constants
- func Aggregate(shares []Share) ([]byte, error)
- func HashMessage(msg []byte) [32]byte
- func KeyGen(seed []byte) ([]byte, []byte, error)
- func Verify(pk []byte, msg []byte, cert []byte) bool
- func VerifyHash(pk []byte, hash [32]byte, cert []byte) bool
- func VerifyShare(pk []byte, msg []byte, share Share) bool
- func VerifyShareHash(pk []byte, hash [32]byte, share Share) bool
- type Precomp
- type Share
Constants ¶
View Source
const ( SKSize = 96 // Secret key size (estimated) PKSize = 192 // Public key size (estimated) CertSize = 3072 // Certificate size (≈ 3 kB as per docs) PrecompSize = 40960 // Precomputation size (32-40 kB as per docs) )
Constants - estimated sizes based on Ringtail implementation
Variables ¶
This section is empty.
Functions ¶
func HashMessage ¶
HashMessage hashes a message to 32 bytes for signing
func VerifyHash ¶
VerifyHash verifies a certificate with a pre-hashed message
func VerifyShare ¶
VerifyShare verifies a signature share
Types ¶
Click to show internal directories.
Click to hide internal directories.