Standard library / crypto/x509
crypto/x509.PureEd25519
Signature algorithm identifier PureEd25519. An identifier is not proof of signature validity or support in every protocol. Expected stdout: '16\n'.
Formal Syntax & Structure
go syntaxgo
const PureEd25519 SignatureAlgorithm = 16Working Example
Example Snippetgo
package main
import ( "crypto/x509" "fmt")
func main() { fmt.Println(int(x509.PureEd25519)) }
func must[T any](v T, e error) T { if e != nil { panic(e) } return v}func check(e error) { if e != nil { panic(e) }}