Documentation
¶
Overview ¶
Package secretcrypt implements passphrase based encryption/decryption with a simple interface.
The format used is guaranteed to never change. Any such change will some in the form of a different package rather than evolving this implementation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Decrypt ¶
Decrypt decrypts a sequence of bytes previously created with Encrypt.
Errors conditions include (but may not be limited to):
- The input is truncated.
- The input is otherwise invalid (arbitrary corruption).
- The passphrase does not match that which was used during encryption.
There is no way to tell programatically whether an error is due to a bad passphrase or for other reasons.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.