package
0.0.0-20210313190615-2655f85d5204
Repository: https://github.com/z0rr0/send.git
Documentation: pkg.go.dev
# Functions
DecryptFile writes decrypted content of file with path from Msg.Value, checking Msg.Hash to dst using the secret and Msg.Salt.
DecryptText returns decrypted value from Msg.Value using the secret.
File encrypts content from src to a new file using the secret.
Hash returns SHA3 ShakeSum256 check sum with length 32 bit.
Key calculates and returns secret key and its SHA512 hash.
Random returns n-Random bytes.
Salt returns Random bytes.
Text encrypts plaintText using the secret.
# Variables
ErrSecret is an error when the secret hash is incorrect.