security

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Base64Encrypter

type Base64Encrypter struct{}

func (Base64Encrypter) Encrypt

func (b64e Base64Encrypter) Encrypt(data []byte) []byte

func (Base64Encrypter) GenerateRandomString

func (b64e Base64Encrypter) GenerateRandomString() string

func (Base64Encrypter) GetName

func (b64e Base64Encrypter) GetName() string

type Encrypter

type Encrypter interface {
	GetName() string
	GenerateRandomString() string
	Encrypt([]byte) []byte
}

Encryptor interface

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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