Skip to content

Instantly share code, notes, and snippets.

@feedhenry-gists
Created June 10, 2011 16:06
Show Gist options
  • Save feedhenry-gists/1019163 to your computer and use it in GitHub Desktop.
Save feedhenry-gists/1019163 to your computer and use it in GitHub Desktop.
Security Data Decryption
$fh.sec({
act:'decrypt',
params:
{algorithm:'RSA|AES',
ciphertext:'<data to decrypt>',
key: '<private key hex value for RSA decryption or secret key hex value for AES decryption>',
modulu: '<hex value of the modulu for RSA decryption>'
}
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment