Commit Graph

109 Commits

Author SHA1 Message Date
Joshua Estes
d68511ddeb Updated the Base58 class and tests to cover a little more 2014-09-25 15:38:29 -04:00
Joshua Estes
0c7bd40311 Updated fingerprint test to cover the class 100%, refactored the fingerprint class and caught a small bug 2014-09-25 15:20:29 -04:00
Joshua Estes
f092df6224 Refactored and removed deadcode from the storage classes 2014-09-25 14:55:39 -04:00
Joshua Estes
e055067d95 Merge pull request #45 from JoshuaEstes/MoreRandomFixesAndUpdates
More random fixes and updates
2014-09-24 15:02:05 -04:00
Joshua Estes
3d18de8f05 Small bug fixes with the decodeHex function 2014-09-24 14:57:43 -04:00
Joshua Estes
fe18af731e Bug fix 2014-09-24 14:06:58 -04:00
Joshua Estes
8d45243f87 Small updates for clearity and update to make fuction return sooner 2014-09-24 13:54:49 -04:00
Joshua Estes
925c0d2856 Code comments 2014-09-24 13:49:46 -04:00
Joshua Estes
92e1191737 Added a method to test and make sure a point is on the elliptic curve 2014-09-24 13:25:25 -04:00
Joshua Estes
c79938700d Small clean up 2014-09-24 12:53:19 -04:00
Joshua Estes
1ffcdebcd5 Added and updated comments and added some new tests 2014-09-24 12:48:37 -04:00
Joshua Estes
19745548c3 A few code cleanups for public key and public key testing 2014-09-24 12:18:17 -04:00
Joshua Estes
64376653a7 Small fix to make sure the y only got the last 32 characters 2014-09-24 12:03:07 -04:00
Joshua Estes
4213abf5e2 Updated a few tests and added a little more functionality to public key class 2014-09-24 11:48:35 -04:00
Rich Morgan
9778053c27 Merge pull request #44 from JoshuaEstes/MoreRandomFixesAndUpdates
Lots of small bug fixes, updates
2014-09-24 11:36:22 -04:00
Joshua Estes
981ff2ef6a Small bug fix with abstract key class and added a little more inline docs 2014-09-24 11:26:12 -04:00
Joshua Estes
292662d198 Made Point serializable 2014-09-24 11:10:57 -04:00
Joshua Estes
c9bc6fc44a Small fix to throw exceptions 2014-09-24 10:43:42 -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
956f25bbc5 Small bug fix 2014-09-24 08:29:44 -04:00
Joshua Estes
d4c2563099 Merge pull request #41 from JoshuaEstes/updates/AddedMoreTests
Updates/added more tests
2014-09-24 08:13:10 -04:00
Rich Morgan
de08ffc831 Fix for failing unit test 2014-09-23 16:14:05 -04:00
Rich Morgan
c2abab8b4f Fix for issue using the class in a CLI environment 2014-09-23 15:47:57 -04:00
Joshua Estes
b51180515a Made sure everything is PSR1 and PSR2 standard 2014-09-23 15:47:39 -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
6527437158 Create Fingerprint.php
To be used as the passphrase for the transparent read/write encryption.
2014-09-23 15:18:05 -04:00
Rich Morgan
605fc0b4d8 Added return value check
The openssl_random_pseudo_bytes function will return false on failure.
2014-09-23 13:23:52 -04:00
Joshua Estes
c507d151fe Somehow I missed this class 2014-09-23 09:30:52 -04:00
Joshua Estes
ac31719dfc Updated so that when creating a token, it will return a token object 2014-09-23 09:23:39 -04:00
Joshua Estes
fb54d5cb0e Merge pull request #37 from JoshuaEstes/CodeUpdatesAndCodeQualityUpdates
A few small code updates, updated so that everything conforms to PSR1 an...
2014-09-23 08:57:26 -04:00
Joshua Estes
dd72494cec Small bug fix with undefined variable 2014-09-23 08:54:16 -04:00
Joshua Estes
85ed44a728 Small bug fix with undefined variable 2014-09-23 08:51:19 -04:00
Joshua Estes
c52438343f Small bug fix for libraries that use this 2014-09-22 14:47:53 -04:00
Joshua Estes
b4c6928ca3 A few small code updates, updated so that everything conforms to PSR1 and PSR2 standards, moved some of the crytpo classes into a crypto directory, add function to return invoice information 2014-09-22 13:08:13 -04:00
Joshua Estes
7703812d93 Updated some code and added documentation 2014-09-22 11:42:41 -04:00
Rich Morgan
0e53fa7b2a Fixed gmp math bugs 2014-09-19 18:16:42 -04:00
Rich Morgan
f8aa1634cd Added missing cstrong variable 2014-09-19 18:07:55 -04:00
Rich Morgan
af248cfa5e Fix for param validity check 2014-09-19 17:10:55 -04:00
Rich Morgan
5c4e9b0983 Update Invoice.php 2014-09-19 17:03:38 -04:00
Rich Morgan
c267fd7bf3 Fix for incorrect data type 2014-09-19 16:54:32 -04:00
Rich Morgan
9b066adca8 Fix for wrong variable 2014-09-19 16:51:57 -04:00
Rich Morgan
4cb5af59cc Fix for incorrect parameter type 2014-09-19 16:49:20 -04:00
Rich Morgan
1ec55be201 Fixed incorrect validation operator 2014-09-19 16:46:18 -04:00
Rich Morgan
fdd5459f40 Fix for OpenSSL constant... ARGH! 2014-09-19 16:37:56 -04:00
Rich Morgan
5d210ef581 Fix for undefined constant 2014-09-19 16:26:57 -04:00
Rich Morgan
ff29a430a2 Fixed missing $ character 2014-09-19 16:17:47 -04:00
Rich Morgan
485285f81c Fixed missing $ character 2014-09-19 16:16:58 -04:00
Rich Morgan
0798b7e49f Fix for missing namespace 2014-09-19 16:13:03 -04:00
Rich Morgan
8d833b4058 Fixed mising function_exists parameter 2014-09-19 16:09:34 -04:00