Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrDecrypt = errors.New("decryption failed")
Functions ¶
func GenerateNewKeyFile ¶
Types ¶
type Cipher ¶
type Cipher struct {
// contains filtered or unexported fields
}
Cipher handles authenticated encryption using XChaCha20-Poly1305.
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
type TokenClaims ¶
type TokenClaims struct {
Service string `json:"svc"`
jwt.RegisteredClaims
}
Click to show internal directories.
Click to hide internal directories.