cryptUtils

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AES128Decrypt

func AES128Decrypt(cipher, password string) (string, error)

func AES128Encrypt

func AES128Encrypt(plain, password string) (string, error)

func AES192Decrypt

func AES192Decrypt(cipher, password string) (string, error)

func AES192Encrypt

func AES192Encrypt(plain, password string) (string, error)

func AES256Decrypt

func AES256Decrypt(cipher, password string) (string, error)

func AES256Encrypt

func AES256Encrypt(plain, password string) (string, error)

func AESDecrypt added in v0.2.0

func AESDecrypt(cipher string, key []byte) (string, error)

func AESEncrypt added in v0.2.0

func AESEncrypt(plain string, key []byte) (string, error)

func RandomBytes added in v0.2.0

func RandomBytes(size int) []byte

Types

This section is empty.

Jump to

Keyboard shortcuts

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