Home > PHP > Function > Hash > hash_update()

hash_update()

hash_update - Pump data into an active hashing context

Syntax

bool hash_update (resource $context, string $data)

Arguments

  • context - Hashing context returned by hash_init().
  • data - Message to be included in the hash digest.

Description

Version

PHP 5.1.2, PECL hash >= 1.1

Return value

Returns TRUE.