Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrED25519Verification = errors.New("crypto/ed25519: verification error")
ErrED25519Verification is missing from crypto/ed25519 compared to crypto/rsa
View Source
var ( // SigningMethodES256 implements ED25519. SigningMethodED25519 = &signingMethodED25519{ Name: "ED25519", Hash: crypto.SHA512, } )
Specific instances of EC SigningMethods.
Functions ¶
func GenerateKey ¶
func GenerateKey() (publicKey, privateKey string)
GenerateKey generates a public/private key pair using entropy from rand. the keys is encoded by base64.RawURLEncoding
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.