Sam Bohler
d9a8266d7c
Fixed Private Key Test generate stalling, and suggest GMP in composer.json
2014-11-26 13:51:19 -05:00
Sam Bohler
d05146d8f5
Fixes #72 - Restructured arb int math and enabled BCMath as an engine
2014-11-26 13:09:05 -05:00
Sam Bohler
6ec5bcb787
Revert "GMP and BC Math signature code generates different signatures"
2014-11-25 08:09:32 -05:00
Alexander Leitner
32c9af90b7
Revert "Merge if you like math!"
2014-11-24 17:53:57 -05:00
Joshua Estes
557064ae85
Updated private key test to test gmp and bc math signatures, test fails when it tries to compare them
2014-11-24 14:48:31 -05:00
Alexander Leitner
2d65f231e0
Math.php is a Singleton object
2014-11-20 12:03:38 -05:00
Alexander Leitner
d3ffcfa798
var dumps
2014-11-20 11:54:27 -05:00
Alexander Leitner
b29334502b
GMP and BC Math integrated into client library
2014-11-14 11:39:16 -05:00
ionux
701f6679f6
Added new PEM encoding and decoding functions. Also
...
added two corresponding tests.
2014-10-03 15:46:25 -04:00
Rich Morgan
f3675eac56
Fix for expected private key length
...
Range will probably be 72 < x < 78
2014-10-03 15:15:08 -04:00
Rich Morgan
052db7847b
Fix for expected private key length
...
We're working with the decimal form of the number here, so it can be slightly variable since any leading zeroes from the hex are not used. I generated 1,000,000 keys and the range of sizes were:
Array
(
[0] => 78
[1] => 77
[2] => 76
[3] => 75
[4] => 74
[5] => 73
[6] => 72
)
I think it's safe to say we shouldn't see anything less than 72, although it's still theoretically possible since the number can be in the range of [1, n-1].
2014-10-02 13:31:13 -04:00
Sam Bohler
c15083d309
Replaced full-text licenses with references
2014-09-29 09:16:06 -04:00
Joshua Estes
b65c5f57e8
Found issues with the keys
2014-09-24 10:34:50 -04:00
Joshua Estes
331fd48491
Added and updated tests, ran php-cs-fixer on src/ and tests/ still having a few issues with signatures, tests should help find the issues
2014-09-24 09:34:23 -04:00
Joshua Estes
efac474377
refactored and added a lot of tests, made use of the point class more in functions and made a curve parameter interface so that mock interfaces can be used later in testing
2014-09-23 15:36:40 -04:00
Rich Morgan
f4d797f7ab
Use Bitauth signature method in test
2014-09-19 18:55:25 -04:00
Rich Morgan
39100ab91a
Added extra null tests & completed sign test
2014-09-19 18:03:59 -04:00
Joshua Estes
34eff77873
A little refactoring and ran php-cs-fixer on both files
2014-09-19 14:03:55 -04:00
Joshua Estes
8808864cd7
Ran php-cs-fixer on test files
2014-09-18 14:12:24 -04:00
Joshua Estes
067d17d676
A few updates and bug fixes, all tests now pass
2014-09-15 13:20:32 -04:00
Joshua Estes
c5edfdbee5
Added license to all files
2014-09-12 08:23:29 -04:00
Joshua Estes
0350f05cf0
Initial Commit
2014-09-12 06:44:37 -04:00