Documentation ¶
Overview ¶
Package crypto provides an easy interface to cutting-edge cryptographic functions with sensable defaults.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func KeyDerivation ¶
KeyDerivation using Argon2.
Types ¶
type Key ¶
type Key struct {
// contains filtered or unexported fields
}
Key implements PKI signing using Ed25519/EdDSA/RFC8032.
func (*Key) SignWithSalt ¶
SignWithSalt generates detached signature of `msg` with an extra salt.
Click to show internal directories.
Click to hide internal directories.