Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrSecret = errors.New("failed secret")
ErrSecret is an error when the secret hash is incorrect.
Functions ¶
func DecryptFile ¶
DecryptFile writes decrypted content of file with path from Msg.Value, checking Msg.Hash to dst using the secret and Msg.Salt.
func DecryptText ¶
DecryptText returns decrypted value from Msg.Value using the secret. Salt in m.Salt is expected
Types ¶
Click to show internal directories.
Click to hide internal directories.