![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
10/01/2011, 13:59
|
| | Fecha de Ingreso: junio-2005
Mensajes: 17
Antigüedad: 19 años, 8 meses Puntos: 0 | |
Crypt_RSA alguien a usado la libreria Crypt_RSA ?
se encuentra en la red un ejemplo
Este ejemplo me falla en la linea :extract($rsa->createKey());
<?php
include('Crypt/RSA.php');
$rsa = new Crypt_RSA();
extract($rsa->createKey());
$plaintext = 'terrafrost';
$rsa->loadKey($privatekey);
$ciphertext = $rsa->encrypt($plaintext);
$rsa->loadKey($publickey);
echo $rsa->decrypt($ciphertext);
?> |