crypto

package
v0.0.15 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decrypt

func Decrypt(data string, salt string, encryptionKey string) (string, error)

Decrypt uses the given salt and encryptionKey to decrypt the given encrypted string using the same method as that used by the Cloud Controller.

func Encrypt

func Encrypt(data string, salt string, encryptionKey string) (string, error)

Encrypt uses the given salt and encryptionKey to encrypt the given plaintext string using the same method as that used by the Cloud Controller.

Types

This section is empty.

Jump to

Keyboard shortcuts

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