note 36596 added to function.openssl-pkcs7-encrypt

From: Date: Wed, 15 Oct 2003 21:31:19 +0000
Subject: note 36596 added to function.openssl-pkcs7-encrypt
Groups: php.notes 
Request: Send a blank email to php-notes+get-58663@lists.php.net to get a copy of this message
If you don't like the idea of only using RC2/40bit you can always recompile the php_openssl extension. Simply search through the extensions openssl.c source file for the EVP_rc2_40_cbc() call, which selects this cipher. Replace the call to select another better cipher such as EVP_rc2_cbc() (RC2/128bit) or EVP_des_ede3_cbc() (triple-DES). I patched the source to allow the selection of cipher as an extra parameter, but got the latest source from CVS to submit a patch and it appears the work has already been done, so looks like we will see this feature in pretty soon. Richard. ---- Manual Page -- http://www.php.net/manual/en/function.openssl-pkcs7-encrypt.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+36596 Delete -- http://master.php.net/manage/user-notes.php?action=delete+36596&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+36596&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#58663) next »