This function is intended to be an internal helper file for the package. Both parameters are currently necessary, and bust be between 1 and 256 bytes in length. The salt should be generated using PKI::PKI.random(), or some other cryptographically stron random number generator.
1 | CryptProtectData(pwd, salt)
|
pwd |
The raw representation of the string top be encrypted |
salt |
A vector of randomly generated bytes |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.