cbc

package
v0.0.0-...-92ea3ac Latest Latest
Warning

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

Go to latest
Published: May 26, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decrypt

func Decrypt(data []byte, key, iv string) ([]byte, error)

Decrypt decrypts passed AES-256-CBC encrypted base64-encoded data.

func Encrypt

func Encrypt(data []byte, key, iv string) ([]byte, error)

Encrypt encrypts passed data into AES-256-CBC base64-encoded string.

Types

This section is empty.

Jump to

Keyboard shortcuts

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