crypto

package
v0.0.0-...-e1ecfe9 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AESDecrypt

func AESDecrypt(ciphertext []byte, key []byte) ([]byte, error)

AESDecrypt decrypts the data using AES algorithm

func AESEncrypt

func AESEncrypt(plaintext []byte, key []byte) ([]byte, error)

AESEncrypt encrypts the data using AES algorithm

func SHA256

func SHA256(message string) string

SHA256 is the hasher function

Types

This section is empty.

Jump to

Keyboard shortcuts

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