crypto

package
v2.19.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeString

func DecodeString(s string, passphrase string) (string, error)

DecodeString decodes a base64-encoded string encoded with AES.

func EncodeString

func EncodeString(s string, passphrase string) (string, error)

EncodeString encodes a string using AES and returns the base64-encoded result.

Types

This section is empty.

Jump to

Keyboard shortcuts

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