deemru/blake2b

BLAKE2 hash function on pure PHP

Maintainers

Package info

github.com/deemru/Blake2b

pkg:composer/deemru/blake2b

Statistics

Installs: 21 256

Dependents: 7

Suggesters: 0

Stars: 7

Open Issues: 0

1.0.1 2019-02-03 14:36 UTC

This package is auto-updated.

Last update: 2026-03-01 00:26:54 UTC


README

packagist php-v travis codacy license

Blake2b implements BLAKE2 hash function on pure PHP.

Usage

$blake2b = new Blake2b();
$hash = $blake2b->hash( 'Hello, world!' );
if( $hash !== hex2bin( 'b5da441cfe72ae042ef4d2b17742907f675de4da57462d4c3609c2e2ed755970' ) )
    exit( 1 );

Requirements

Installation

Require through Composer:

{
    "require": {
        "deemru/blake2b": "1.0.*"
    }
}