romanzaycev/valuehash

There is no license information available for the latest version (0.1.0) of this package.

0.1.0 2022-12-05 09:53 UTC

This package is auto-updated.

Last update: 2024-05-05 13:11:27 UTC


README

Summary

The library is designed to calculate SHA-256 hash of the passed value.

The hash of only the values is calculated. Meta information about the class (such as the class name) will be ignored. For the passed stdClass object and an instance of another class, the same hash will be calculated if the data in the public fields is the same.

Supported types

  • Scalars
  • Arrays
  • StdClass
  • Objects
  • and custom Hashable interface implementations