2017 © Pedro Peláez
 

library siphash

SipHash PHP implementation (-2-4 so far)

image

duzun/siphash

SipHash PHP implementation (-2-4 so far)

  • Saturday, May 13, 2017
  • by duzun
  • Repository
  • 1 Watchers
  • 0 Stars
  • 440 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 59 % Grown

The README.md

SipHash Build Status

SipHash-2-4 implementation written in PHP, (*1)

Install

With composer

composer require duzun/siphash

Vanilla PHP (no composer)

Copy src/siphash.php to your project, then, (*2)

require_once 'src/siphash.php';

Usage

use duzun\SipHash; // PHP >= 5.3.0

// 128-bit $key is a string of max 16 chars
// $message is any string you want to hash
$hash = SipHash::hash_2_4($key, $message); // eg. "6dd48df68066d1bd"

The Versions

13/05 2017

dev-master

9999999-dev https://github.com/duzun/SipHash

SipHash PHP implementation (-2-4 so far)

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

php hash siphash

13/05 2017

0.0.1

0.0.1.0 https://github.com/duzun/SipHash

SipHash PHP implementation (-2-4 so far)

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

php hash siphash