As mentioned in the README, the tests cause crashes and there are various issues but this is worked around/doesn't effect php-addressgen.
When porting PHP_Blake from PHP5 to PHP7, I just looked at the API changes between 5 -> 7 and did a straight port. There is a lot of room for simplication. For instance, looking at https://github.com/strawbrary/php-blake2, the module glue could be a lot cleaner with PHP7 than it is currently.
Might be nice to rename the function/module to blake256/blake256.so as well or replace with pure PHP code.
As mentioned in the README, the tests cause crashes and there are various issues but this is worked around/doesn't effect php-addressgen.
When porting PHP_Blake from PHP5 to PHP7, I just looked at the API changes between 5 -> 7 and did a straight port. There is a lot of room for simplication. For instance, looking at https://github.com/strawbrary/php-blake2, the module glue could be a lot cleaner with PHP7 than it is currently.
Might be nice to rename the function/module to blake256/blake256.so as well or replace with pure PHP code.