Documentation ¶ Overview ¶ Package fakeencryption is using for testing Index ¶ type FakeEncryption func New() *FakeEncryption func (s *FakeEncryption) Decrypt(ctx context.Context, encrypted []byte, additionalAuthData string) ([]byte, error) func (s *FakeEncryption) Encrypt(ctx context.Context, data []byte, additionalAuthData string) ([]byte, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type FakeEncryption ¶ type FakeEncryption struct{} FakeEncryption does not encrypt data. func New ¶ func New() *FakeEncryption New creates a new FakeEncryption. func (*FakeEncryption) Decrypt ¶ func (s *FakeEncryption) Decrypt(ctx context.Context, encrypted []byte, additionalAuthData string) ([]byte, error) func (*FakeEncryption) Encrypt ¶ func (s *FakeEncryption) Encrypt(ctx context.Context, data []byte, additionalAuthData string) ([]byte, error) Source Files ¶ View all Source files encryption.go Click to show internal directories. Click to hide internal directories.