Hashing context returned by hash_init().
Open file handle as returned by any stream creation function.
Maximum number of characters to copy from handle into the hashing context.
$fp = tmpfile();
fwrite($fp, 'The quick brown fox jumped over the lazy dog.');
$ctx = hash_init('md5');
The above example will output: