kms

package
v0.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package kms offers an interface for providing encryption services.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Encryption

type Encryption interface {
	Encrypt(ctx context.Context, data []byte, additionalAuthData string) ([]byte, error)
	Decrypt(ctx context.Context, encrypted []byte, additionalAuthData string) ([]byte, error)
}

Encryption abstracts a encryption service for storing encrypted data.

Directories

Path Synopsis
Package fakeencryption is using for testing
Package fakeencryption is using for testing
Package gcpcrypt contains a client of GCP Cloud KMS symmetric encryption.
Package gcpcrypt contains a client of GCP Cloud KMS symmetric encryption.
manual_test
Binary gcpcrypt contains a symmetric encryption test run on real CloudKMS.
Binary gcpcrypt contains a symmetric encryption test run on real CloudKMS.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL