pwdEncrypt: A function do encrypt a password.

Description Usage Arguments Author(s) References See Also Examples

Description

Use this function to encrypt a hard coded password. This function requires a key that is generated with the createKey function.

Usage

1
pwdEncrypt(password, key)

Arguments

password

A character object that contains your hard coded password.

key

The generated key that is used to encrypt and decrypt the password.

Author(s)

Arie Twigt

References

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

See Also

createPwdKey

Examples

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

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

encrypted_password

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