Description Usage Arguments Value Examples
Utility to encrypt a clear text with a public key from previously generated cryptographic key files
1 | EncryptAndSave(clear.pw, pub.k, pwRoot = "SSpw")
|
clear.pw |
- the clear text |
pub.k |
- a public encrypted key |
pwRoot |
='SSpw'- the root you want for the encrypted file name |
the encrypted.pw.filename
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Not run:
Fill these in with the timestamped file names
RSAPrvKeyFilename<-my.keys$RSAPrvKeyFilename
RSAPubKeyFilename<-my.keys$RSAPubKeyFilename
key.ring<-LoadKeys(RSAPrvKeyFilename,RSAPubKeyFilename)
clear.pw<-"A secret password"
encrypted.pw.filename<-EncryptAndSave(clear.pw,key.ring$pub.k)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.