Documentation ¶ Index ¶ Constants func Valid(publicKey, message, signature []byte) (bool, error) Constants ¶ View Source const ( // PublicKeySize is the size of a public key in bytes. PublicKeySize = 32 ) Variables ¶ This section is empty. Functions ¶ func Valid ¶ func Valid(publicKey, message, signature []byte) (bool, error) Valid verifies the provided signature of the message using the public key. An error is returned if and only if an invalid public key is provided. Types ¶ This section is empty. Source Files ¶ View all Source files ed25519.go pkg.go Click to show internal directories. Click to hide internal directories.