Documentation ¶
Overview ¶
pkg/common/crypt/crypt.go
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecryptAES ¶
DecryptAES decrypts data encrypted with AES-GCM using a passphrase
func EncryptAES ¶
EncryptAES encrypts data using AES-GCM with a passphrase
func SecureRandomInt ¶
func ValidPassphrase ¶
Types ¶
type PassphraseError ¶
type PassphraseError struct {
Issues []string
}
func (*PassphraseError) Error ¶
func (e *PassphraseError) Error() string
Click to show internal directories.
Click to hide internal directories.