Documentation
¶
Overview ¶
Package aes contains an implentation of CryptoService interface.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AES ¶
type AES struct {
// contains filtered or unexported fields
}
AES is an implementation of Advanced Encryption Standart also known as Rjindael.
func (AES) Decrypt ¶
Decrypt decrypts encrypted data using AES with CTR block mode. Encrypted data should be presented as byte array. Decrypted data is presented as byte array. If aes.NewCipher occurs any error, this will be returned.
func (AES) Encrypt ¶
Encrypt encrypts data using AES with CTR block mode. Data should be presented as byte array. Encrypted data is presented as byte array. If aes.NewCipher occurs any error, this will be returned.
Click to show internal directories.
Click to hide internal directories.