Skip to content

devoldemar/keccak

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

keccak

Pure PHP implementation of Keccak hash algorithm with 224- or 256-bits digest.

Based on Bruno Bierbaumer's script for SHA-3, with change of padding rule and cleanup of patches for multibyte operations

Usage

<?php

use Keccak\Keccak256;

// returns: c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470
Keccak256::hash('', 256);

// for raw (binary) output
Keccak256::hash('', 256, true)

?>

About

Pure PHP implementation of Keccak hashing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages