folder_encrypt: Encrypt a folder.

Description Usage Arguments Value Examples

View source: R/folder_encrypt.R

Description

Function that encrypts the given object folder_decrypted.

Usage

1
folder_encrypt(folder_decrypted, password = NULL)

Arguments

folder_decrypted

An object of class personfiles.

password

The folder's password. Can be NULL for no password.

Value

Returns invisibly the encrypted folder_decrypted.

Examples

1
2
3
### Encrypt a folder that has no password yet.
folder_decrypted <- folder(folder_dir = tempdir(), overwrite = TRUE)
folder_encrypt(folder_decrypted = folder_decrypted, password = "secret")

loelschlaeger/personfiles documentation built on Dec. 21, 2021, 11:45 a.m.