security

package
v0.0.0-...-75c4490 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ComparePasswords

func ComparePasswords(password, hash string) bool

func Decrypt

func Decrypt(cryptoText string, key string) (string, error)

func Encrypt

func Encrypt(plainText string, key string) (string, error)

func GetSecurityKey

func GetSecurityKey(keyFromEnv string) string

func HashPassword

func HashPassword(password string) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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