service

package
Version: v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2020 License: MIT Imports: 5 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 {
	Encrypt(plain []byte, key []byte) ([]byte, error)
	Decrypt(cipherText []byte, key []byte) ([]byte, error)
}

func NewEncryptionService

func NewEncryptionService() EncryptionService

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL