Bug #10665: Requesting additional functions in OpenSSL module (working patch available)
| From: | kettler at gmx dot net | Date: | Fri, 04 May 2001 14:47:13 +0000 |
| Subject: | Bug #10665: Requesting additional functions in OpenSSL module (working patch available) | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-53845@lists.php.net to get a copy of this message | ||
From: kettler@gmx.net
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