pwdSave: A function to save a encrypted password.

Usage Arguments Author(s) References See Also Examples

Usage

1
pwdSaveRDS(encrypted_password, file, location)

Arguments

encrypted_password

Specifies the encrypted password that is created with the pwdEncrypt function.

file

Specifies the file name for the encrypted password.

location

Specifies the location for the encrypted password.

Author(s)

Arie Twigt

References

https://cran.r-project.org/web/packages/PKI/index.html

See Also

pwdEncrypt

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
# create a key
key <- createKey()

# create an encrypted password with the key
password <- pwdEncrypt("Welcome1!", key)

# save the encrypted password
pwdSaveRDS(encrypted_password, "encrypted_password.rds", getwd())

# it is also possible to skip the location path
pwdSaveRDS(password, "encrypted_password.rds")

ArieTwigt/hidePwd documentation built on May 21, 2019, 7:53 a.m.