Documentation
¶
Index ¶
Constants ¶
View Source
const ( Encrypt cryptoOperation = "encrypt" Decrypt cryptoOperation = "decrypt" )
Variables ¶
View Source
var (
ErrInvalidOperation = errors.New("invalid operation. Please choose 'encrypt' or 'decrypt'")
)
ErrInvalidOperation is returned when the user enters an invalid operation.
View Source
var ErrSecretTooShort = errors.New("the secret key must be at least 11 characters long")
ErrSecretTooShort is returned when the secret key is less than 11 characters long.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.