crypt

package
v0.0.0-...-9eeef88 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2024 License: MIT-0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decrypt

func Decrypt(encryptedMessage any) (string, error)

Decrypt decrypts a message

func Encrypt

func Encrypt(message any) (string, error)

Encrypt encrypts a message

func GenerateKey

func GenerateKey(length int) []byte

func Key

func Key() []byte

func Reset

func Reset()

Types

This section is empty.

Jump to

Keyboard shortcuts

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