\CryptoManana\Core\Interfaces\MessageDigestionObjectHashingInterface

Interface ObjectHashingInterface - Interface for object instance hashing.

Summary

Methods
Constants
hashObject()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

hashObject()

hashObject(object|\stdClass  $object) : string

Calculates a hash value for the serialized value of the given object.

Parameters

object|\stdClass $object

The object for hashing.

Throws

\Exception

Validation errors.

Returns

string —

The digest.