encryption

package
v1.92.0 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2023 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decrypt added in v1.66.0

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

func DecryptStruct added in v1.70.0

func DecryptStruct(encryptedStruct string, key string, object any) error

func Encrypt added in v1.66.0

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

func EncryptStruct added in v1.70.0

func EncryptStruct(object any, key string) (string, error)

func Hash

func Hash(input string, key string) string

func Md5HashString

func Md5HashString(bytesToHash []byte) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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