togos/hash

Object-oriented message digest framework

1.0.0 2017-01-25 09:05 UTC

This package is auto-updated.

Last update: 2024-10-20 04:45:45 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