| age_file | R Documentation |
File-to-file encryption. Large files are streamed in constant memory in C (they are not loaded into an R vector).
age_encrypt_file(
input,
output = NULL,
recipients,
armor = FALSE,
overwrite = FALSE
)
age_decrypt_file(input, output = NULL, identities, overwrite = FALSE)
input |
Path to the source file. |
output |
Destination path. If |
recipients |
Character vector of |
armor |
If |
overwrite |
If |
identities |
An |
The output path, invisibly.
id <- age_keygen()
rec <- age_pubkey(id)
f <- tempfile(fileext = ".txt")
writeLines("hello", f)
enc <- age_encrypt_file(f, recipients = rec)
dec <- age_decrypt_file(enc, output = tempfile(), identities = id)
readLines(dec)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.