\CryptoManana\Core\Interfaces\MessageDigestionSecureVerificationInterface

Interface SecureVerificationInterface - Interface for secure password and data verification.

Summary

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

Methods

verifyHash()

verifyHash(string  $data, string  $digest) : boolean

Securely compares and verifies if a digestion value is for the given input data.

Parameters

string $data

The input string.

string $digest

The digest string.

Throws

\Exception

Validation errors.

Returns

boolean —

The result of the secure comparison.