You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A internal inspector method that queries the sytem's available hashing algorithms to verify if a specific algorithm is supported by the current PHP environment.
Usage
algorithmExists(string $algo): bool
Parameters
algo (string)
: The algorithm name to verify. Must be lowercase to match PHP's native hash_algos() registry.
Return Value
(bool)
: Returns true if the algorithm is supported and available on the server; otherwise returns false.