Documentation
¶
Overview ¶
Package cipher implements crypto algorithms for crypto generic.
Index ¶
- Variables
- type KMS
- func (c *KMS) Decrypt(cryptotext string) (plaintext []byte, err error)
- func (c *KMS) Decrypt64(codec *base64.Encoding, cryptotext string) (plaintext []byte, err error)
- func (c *KMS) Encrypt(plaintext []byte) (cryptotext string, err error)
- func (c *KMS) Encrypt64(codec *base64.Encoding, plaintext []byte) (cryptotext string, err error)
- func (c *KMS) UseKey(key string)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Default is global variable with reference to default cipher. Default = NewKMS() )
Functions ¶
This section is empty.
Types ¶
type KMS ¶
type KMS struct {
// contains filtered or unexported fields
}
KMS is the context of AWS KMS cipher
Click to show internal directories.
Click to hide internal directories.