Standard library / crypto/ed25519
crypto/ed25519.SignatureSize
Signature length. Measured in bytes. Expected stdout: '64\n'.
Formal Syntax & Structure
go syntaxgo
const SignatureSize = 64Working Example
Example Snippetgo
package main
import ( "crypto/ed25519" "fmt")
func main() { fmt.Println(ed25519.SignatureSize) }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) }}