encrypt_string: Encrypt and decrypt simple strings.

Description Usage Examples

Description

This is useful if you want to email secrets to your collaborators. It's only suitable for short-term communication because there's no way to re-encrypt the strings if the master key changes (i.e. when you add or remove users).

Usage

1
2
3
encrypt_string(x, vault = NULL)

decrypt_string(x, vault = NULL)

Examples

1
2
3
4
5
6
## Not run: 
enc <- encrypt_string("This string is encrypted")
enc
decrypt_string(enc)

## End(Not run)

hadley/secure documentation built on May 17, 2019, 12:46 p.m.