Created
June 10, 2011 16:04
-
-
Save feedhenry-gists/1019161 to your computer and use it in GitHub Desktop.
Security Data Encryption
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$fh.sec({ | |
act:'encrypt', | |
params: | |
{algorithm:'RSA|AES', | |
plaintext:'<data to encrypt>', | |
key: '<public key hex value for RSA encryption or secret key hex value for AES encryption>', | |
modulu: '<hex value of the modulu for RSA encryption>' | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment