...
Package schemes
Package schemes contains a register of signature algorithms.
Implemented schemes:
Ed25519
Ed448
Ed25519-Dilithium2
Ed448-Dilithium3
▾ Example
Code:
for _, sch := range schemes.All() {
fmt.Println(sch.Name())
}
Output:
Ed25519
Ed448
Ed25519-Dilithium2
Ed448-Dilithium3
func All() []sign.Scheme
All returns all signature schemes supported.
func ByName(name string) sign.Scheme
ByName returns the scheme with the given name and nil if it is not
supported.
Names are case insensitive.