Encrypt: Encrypt variable

Description Usage Arguments Value Author(s) Examples

View source: R/vector_endecrypt.R

Description

Encrypt variable

Usage

1
Encrypt(x, pub.key, encryption.type = "aes256")

Arguments

x

The variable to be encrypted

pub.key

key object. The public key object. Use the LoadKey funtion to load the public key and assign it

encryption.type

Refer PKI.encrypt function. The default is "aes256"

Value

Encrypted variable

Author(s)

"Revanth Nemani <raynemani@gmail.com>"

"Aditya Vikram <adyviky9@gmail.com>"

Examples

1
2
3
4
## Not run: 
Encrypt(x = "abc", pub.key = pubkey, encryption.type = "aes256")

## End(Not run)

RevanthNemani/endecrypt documentation built on Nov. 10, 2019, 5:14 p.m.