crypto.php
Table of Contents
Functions
- hashSHA256() : string
- Generates a SHA-256 hash of the input string.
Functions
hashSHA256()
Generates a SHA-256 hash of the input string.
hashSHA256(string $input) : string
This function acts as a wrapper for the native PHP hash function, specifically using the SHA-256 algorithm to create a cryptographic representation of the data.
Parameters
- $input : string
-
The input string to be hashed.
Return values
string —The calculated SHA-256 hash as a hexadecimal string.