Concept Framework 2.0 documentation Contents | Index

standard.lib.cripto.rsa_decrypt

Name Version Deprecated
rsa_decrypt version 1.0 no

Prototype:
string rsa_decrypt(string data, string rsa_private_key)

Parameters:
data      the encrypted data to decrypt
rsa_private_key      the private key to use

Description:
Decrypts using the RSA algorithm. For generating key pairs, you may want to use rsa_generate_keys.

Returns:
Returns the decrypted data (if succeeded) or an empty string if the key was invalid.

Documented by Eduard Suica, generation time: Fri Jan 21 18:06:20 2011 GMT(c)2011 RadGs Software