saveKeyRSA: A function that saves a key to an .rsa file

Description Usage Arguments Author(s) References See Also Examples

Description

Is used to save the generated key as an .rsa file to the desired target location.

Usage

1
saveKeyRSA(key, file, location)

Arguments

key

The key that is generated by the createPwdKey() function.

file

The target file to which the .rsa-file with the key will be saved.

location

The location to which the .rsa-file with the key will be saved.

Author(s)

Arie Twigt

References

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

See Also

createKey

Examples

1
2
3
4
5
# create a key
key <- createPwdKey()

# save the key
saveKeyRSA(key, "pwd_key.rsa", getwd())

ArieTwigt/passwordEncryptR documentation built on May 30, 2019, 7:58 p.m.