Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrMalformedCiphertext = fmt.Errorf("malformed ciphertext")
)
Functions ¶
This section is empty.
Types ¶
type AES ¶
type AES struct {
EncryptionKey [32]byte
}
AES encrypts and decrypts data using AES encryption
func (*AES) Decrypt ¶
Decrypt decrypts AES-encoded data slightly modified from original: https://github.com/gtank/cryptopasta/blob/master/encrypt.go
Click to show internal directories.
Click to hide internal directories.