Encryption/Decryption function
Arguments
- input
input file
- output
(optional) output file. If none is provided, construct a temporary output file with the file extension of the input file
- pass
a password to decrypt/encrypt the input file. The password is expected to be plain text. If security is of importance, do not use this package. If the password is lost, opening the file will be impossible.