togos / hash
Object-oriented message digest framework
Installs: 3 508
Dependents: 2
Suggesters: 1
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- php: >=5.2
Requires (Dev)
- phpunit/phpunit: ~3.7
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