hash_update() – Adding Data to an Active Hash Context
hash_update() is a PHP function that appends a string of data to an active hash computation context created by hash_init(), takes a resource context and a string data as parameters, and returns TRUE upon successful update of the hash digest.
bool hash_update ( resource $context, string $data )The function appends the provided $data string to the hash computation context represented by $context, which must be a resource returned by hash_init().
Parameters
context
The hash computation context returned by hash_init().
data
The data string to be added to the hash digest.
Return value
Returns TRUE on success.
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
Laravel Tech Community
Specializing in Laravel development, we continuously publish fresh content and grow alongside the elegant, stable Laravel framework.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
