# SipHash **Repository Path**: mirrors_CakeDC/SipHash ## Basic Information - **Project Name**: SipHash - **Description**: SipHash-2-4 implementation in PHP - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-11-14 - **Last Updated**: 2026-03-01 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README SipHash [![Build Status](https://travis-ci.org/duzun/SipHash.svg?branch=master)](https://travis-ci.org/duzun/SipHash) ========== [SipHash-2-4](https://131002.net/siphash/) implementation written in PHP # Install ### With [composer](https://getcomposer.org/) ```sh composer require duzun/siphash ``` ### Vanilla PHP (no composer) Copy `src/SipHash.php` to your project, then ```php require_once 'src/SipHash.php'; ``` # Usage ```php 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" ```