crypto

package
v0.0.0-...-e561cac Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecryptFromJSONString

func DecryptFromJSONString(encryptedData string, key []byte) (string, error)

DecryptFromJSONString returns the plaintext string value of encrypted JSON text

func EncryptToJSONString

func EncryptToJSONString(plaintext string, key []byte) (string, error)

EncryptToJSONString returns the encrypted JSON text value of the given string

Types

This section is empty.

Jump to

Keyboard shortcuts

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