security

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Encryptor

type Encryptor interface {
	Encrypt(plaintext string) (*string, error)
	Decrypt(ciphertext string) (*string, error)
}

func NewEncryptor

func NewEncryptor(secretKey string) Encryptor

func NewEncryptorFromEnv

func NewEncryptorFromEnv() Encryptor

Jump to

Keyboard shortcuts

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