togos/hash

Object-oriented message digest framework

1.0.0 2017-01-25 09:05 UTC

This package is auto-updated.

Last update: 2024-12-20 05:11:03 UTC


README

A simple object-oriented (and thereby extensible) hashing framework for PHP, similar to Java's MessageDigest class or tshash.

Basically:

HashAlgorithm
- newHashing():Hashing

Hashing
- reset()
- update( $data )
- digest() : hash bytes

NativeHashAlgorithm( name ) implements HashAlgorithm

NativeHashing extends Hashing