crypt

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2024 License: MIT Imports: 0 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Crypt

type Crypt interface {
	// EncryptString encrypts the given string value, returning the encrypted string and an error if any.
	EncryptString(value string) (string, error)
	// DecryptString decrypts the given string payload, returning the decrypted string and an error if any.
	DecryptString(payload string) (string, error)
}

Jump to

Keyboard shortcuts

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