note 100298 deleted from function.openssl-get-privatekey by danbrown
| From: | danbrown@php.net | Date: | Wed, 06 Oct 2010 16:25:50 +0000 |
| Subject: | note 100298 deleted from function.openssl-get-privatekey by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-173030@lists.php.net to get a copy of this message | ||
Note Submitter: Federico Contreras
----
Posted script doesn't work:
/*
Returns:
Source: Hello this is a test of openssl_private_decrypt()
Warning: openssl_public_encrypt() [function.openssl-public-encrypt]: key parameter is not a valid
public key in private_decrypt_test.php on line 13
String crypted:
Warning: openssl_private_decrypt() [function.openssl-private-decrypt]: key parameter is not a valid
private key in private_decrypt_test.php on line 24
String decrypt :
*/