cryptutil

package
v0.0.0-...-4bcbab6 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecryptBase64ToString

func DecryptBase64ToString(data string, password string) (string, error)

DecryptBase64ToString : Decrypt given base64 string with a password to an string

func DecryptData

func DecryptData(data []byte, password string) ([]byte, error)

DecryptData : Decrypt given data with a password

func EncryptData

func EncryptData(data []byte, password string) ([]byte, error)

EncryptData : Encrypt given data with a password

func EncryptStringToBase64

func EncryptStringToBase64(data string, password string) (string, error)

EncryptStringToBase64 : Encrypt given string with a password to an base64 string

Types

This section is empty.

Jump to

Keyboard shortcuts

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