Giter Site home page Giter Site logo

php-blake2's People

Contributors

7snovic avatar croensch avatar nikos06 avatar strawbrary avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

php-blake2's Issues

PHP8

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

the "blake2" function should be called "blake2b"

.. 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.

aclocal

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

b2sum for file hashing

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

Add support for blake2s

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.