Skip to contents

Encryption/Decryption function

Usage

encrypt(input, output = NULL, pass)

decrypt(input, output = NULL, pass)

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.

Value

a path to the output file. Either specified or temporary