Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AESEncryptionMiddleware ¶
type AESEncryptionMiddleware struct {
// contains filtered or unexported fields
}
type EncryptionMiddleware ¶
type EncryptionMiddleware interface {
Encrypt(bytes []byte) ([]byte, error)
Decrypt(ciphertext []byte) ([]byte, error)
}
func NewAESEncryptionMiddleware ¶
func NewAESEncryptionMiddleware(aesKey [32]byte) EncryptionMiddleware
Click to show internal directories.
Click to hide internal directories.