package schemes
import "github.com/cloudflare/circl/sign/schemes"
Package schemes contains a register of signature algorithms.
Implemented schemes:
Ed25519 Ed448 Ed25519-Dilithium2 Ed448-Dilithium3
Example¶
Code:play
package main
import (
"fmt"
"github.com/cloudflare/circl/sign/schemes"
)
func main() {
for _, sch := range schemes.All() {
fmt.Println(sch.Name())
}
}
Output:
Ed25519 Ed448 Ed25519-Dilithium2 Ed448-Dilithium3 Dilithium2 Dilithium3 Dilithium5 ML-DSA-44 ML-DSA-65 ML-DSA-87
Index ¶
Examples ¶
Functions ¶
func All ¶
All returns all signature schemes supported.
func ByName ¶
ByName returns the scheme with the given name and nil if it is not supported.
Names are case insensitive.
Source Files ¶
- Version
- v1.6.1 (latest)
- Published
- Apr 9, 2025
- Platform
- linux/amd64
- Imports
- 12 packages
- Last checked
- 20 hours ago –
Tools for package owners.