The Numbers
$e = $_POST['e'];
$d = $_POST['d'];
$p = $_POST['p'];
$n = $_POST['n'];
$q = $_POST['q'];
$phi = $_POST['phi'];
$mprivate = $_POST['mprivate'];
echo " p $p q $q";
$big_num = `echo $p^$q | bc | sed -f /var/www/html/rsa/nlhtml.sed `;
//$big_num = `echo $p^$q | bc | sed -f /home/robin/scripts/nlhtml.sed `;
//$big_num = `echo $p^$q | bc`;
printf("
the big number
%s ",$big_num);
printf(" which is the result of %s^%s
\n", $p,$q);
?>