crypto

package
v0.0.0-...-b0c7f7e Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2024 License: MIT Imports: 8 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Crypto

type Crypto interface {
	SetKey(key string) error
	Encrypt(data []byte) ([]byte, error)
	EncryptString(s string) (string, error)
	Decrypt(data []byte) ([]byte, error)
	DecryptString(s string) (string, error)
}

func New

func New() Crypto

Jump to

Keyboard shortcuts

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