Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EncrypterDecrypter ¶
type EncrypterDecrypter interface { Encrypt(ctx context.Context, data []byte) ([]byte, error) Decrypt(ctx context.Context, data []byte) ([]byte, error) }
func NewAwsKMSCrypto ¶ added in v0.2.0
func NewAwsKMSCrypto( ctx context.Context, keyID, region string, ) (EncrypterDecrypter, error)
func NewCloudKMSCrypto ¶
func NewCloudKMSCrypto( ctx context.Context, keyName string, ) (EncrypterDecrypter, error)
Click to show internal directories.
Click to hide internal directories.