Re: [PHP-DEV] bcpowmod() and bigIntegers

2003-02-22 Thread Sara Golemon
> is there a possibility to implement bcpowmod() in a > version prior than PHP5? > The following patch can be applied to PHP 4.3.0 or PHP 4.3.1. It adds bcpowmod() which isn't scheduled for inclusion until PHP5 and also includes bugfixes and other modifications slated for the PHP4.3.2 release. Us

Re: [PHP-DEV] bcpowmod() and bigIntegers

2003-02-22 Thread Michael Bretterklieber
Hi, Robert Kofler wrote: is there a possibility to implement bcpowmod() in a version prior than PHP5? bcpowmod() ist the only way to calculate a blind signature as described by David CHAUM 1982 -> digicash (openssl does not work here). try this: function bcPowMod($n, $e, $m) { //if ($m == 0