encryption

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EncryptionService

type EncryptionService interface {
	EncryptBinary(plaintext []byte) ([]byte, string, error)
	DecryptBinary(ciphertext []byte, keyId string) ([]byte, error)
	Encrypt(plaintext string) (string, string, error)
	Decrypt(ciphertext, keyId string) (string, error)
}

Jump to

Keyboard shortcuts

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