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.