encryption

package
v0.0.0-...-121c169 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateHash

func CreateHash(key string) string

CreateHash creates a hash of the given key

func Decrypt

func Decrypt(data []byte, passphrase string) []byte

Decrypt decrypts the given data with the given passphrase

func DecryptMessage

func DecryptMessage(key, data string) string

DecryptMessage to test a solution This works when recieving the encrypted string from JSON

Types

This section is empty.

Jump to

Keyboard shortcuts

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