encryption

package
v0.0.0-...-f5ca578 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2022 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Base62

type Base62 interface {
	Encode(str string) string
	Decode(encoded string) (string, error)
}

func NewBase62

func NewBase62() Base62

type Encrypter

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

func NewEncrypter

func NewEncrypter(c *config.EncryptionConfig) Encrypter

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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