strawbrary / php-blake2 Goto Github PK
View Code? Open in Web Editor NEWPHP wrapper for the BLAKE2 hashing function
License: MIT License
PHP wrapper for the BLAKE2 hashing function
License: MIT License
Hi
Is it just me or does this not work with PHP 8?
Was working fine on my old box.
PHP Warning: PHP Startup: BLAKE2: Unable to initialize module
Module compiled with module API=20131226
PHP compiled with module API=20200930
These options need to match
?
Thanks, Ian
Blake3 is fast fast faster:
.. just like the blake2s function is called blake2s
,
there's 4 different versions of blake2, i don't see why blake2b should just be called blake2
while the remaining 3 gets to use their actual names.
with an empty key
well, what the title already says...
hi
Excuse my ignorance but what's the best way forward?
@ make && make install
libtool: Version mismatch error. This is libtool 2.4.6, but the
libtool: definition of this LT_INIT comes from an older release.
libtool: You should recreate aclocal.m4 with macros from libtool 2.4.6
libtool: and run autoconf again.
make: *** [Makefile:180: php_blake2.lo] Error 63
As root, I ran aclocal and then the ./configure --enable-blake2
step again, but get same error.
Thanks, Ian
Hello,
I just read about the plans about integrating blake2 via libsodium to PHP 7.2. Unfortunately the PHP community missed the opportunity to add a function b2sum() - like sha1_file() - to PHP 7.2.
As sha1 is broken officially now, it would have been perfect to add b2sum() as a system function to hash files. Now we need to add it as a pecl extension or use system calls to b2sum tool.
Do you see any chance to integrate a b2sum() function to your extension? Or will it be deprecated with PHP 7.2?
Best regards,
Christopher
init, update, final - Required feature
Currently only blake2b is supported and I had to look at the source to figure this out.
I'd say that the blake2 should be made alias for blake2b (or removed better as this is simple search and replace through PHP code) and blake2s support added.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.