encryption

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecryptData added in v0.7.0

func DecryptData(input io.Reader, key []byte) (io.Reader, error)

func EncryptData added in v0.7.0

func EncryptData(input io.Reader, key []byte) (io.Reader, error)

func GenerateEncryptionKey

func GenerateEncryptionKey() (string, error)

func ScrambleString added in v0.7.0

func ScrambleString(originalString string, key []byte) (string, error)

func UnscrambleString added in v0.7.0

func UnscrambleString(scrambledString string, key []byte) (string, error)

func ValidateEncryptionKey

func ValidateEncryptionKey(key []byte) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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