From:             [EMAIL PROTECTED]
Operating system: Linux
PHP version:      4.0.5
PHP Bug Type:     Feature/Change Request
Bug description:  Requesting additional functions in OpenSSL module (working patch 
available)

I'd like to use more of the RSA functions that OpenSSL provides. What I needed most 
was the possibility to encrypt something with your private key directly. I've made a 
patch that works fine for me and might be of use to others, too. I only tested it with 
OpenSSL 0.9.6a.

As the patch is 7kb, I just put the link to it here: 
http://global.team17.com/php-4.0.5-rsa.patch

The new functions are:

openssl_private_encrypt
openssl_private_decrypt
openssl_public_encrypt
openssl_public_decrypt

Cheers,

Sascha Kettler


-- 
Edit Bug report at: http://bugs.php.net/?id=10665&edit=1



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to