encryption

package
v0.0.0-...-bcce8f3 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewEncrypter

func NewEncrypter(encrypter Encrypter) *encryptionService

NewEncryptionService create a new encrypter

Types

type Encrypter

type Encrypter interface {
	Encrypt(plainText string) (string, error)
	Decrypt(cipherText string) (string, error)
}

Jump to

Keyboard shortcuts

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