write_aes: Write encrypted data frame to file

Description Usage Arguments See Also

Description

WARNING: Do not use for security critical applications. I am not a security expert. This is for low-security applications only.

This function encrypts and writes a data frame. It tries to be fairly efficient and can encrypt and write fairly large files (~ few seconds with ~500k rows). It makes assumptions that could cause problems right now (default escaping and quoting from write.csv) used.

Usage

1
write_aes(df, filename, key)

Arguments

df

A data.frame to encrypt and write.

filename

Location to save or load encrypted binary file

key

A secret key as a character string value. Must be <= 32 characters in length

See Also

read_aes, derived from this post: http://stackoverflow.com/questions/25318800/how-do-i-read-an-encrypted-file-from-disk-with-r


USGS-R/lakeattributes documentation built on May 9, 2019, 8:13 p.m.