Source File
ed25519_go113.go
Belonging Package
golang.org/x/crypto/ed25519
package ed25519
import (
)
SeedSize = 32
)
type PrivateKey = ed25519.PrivateKey
func ( io.Reader) (PublicKey, PrivateKey, error) {
return ed25519.GenerateKey()
}
func ( []byte) PrivateKey {
return ed25519.NewKeyFromSeed()
}
func ( PrivateKey, []byte) []byte {
return ed25519.Sign(, )
}
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |