| Source path: svn/ trunk/ as3crypto/ src/ com/ hurlant/ math/ BigInteger.as |
|
|
|
|
Change log
Fix for a discrepancy pointed out by Frédéric Mayot: BigInteger's constructor treats ByteArrays as unsigned values, but .toByteArray() returns signed values. The fix is: - added a 3d optional unsigned:Boolean=false parameter to BigInteger's contructor - tweaked RSAKey to use that 3d parameter consistently. - added some unit-tests in ...