hash_update_stream

Supported Versions: PHP 5 >= 5.1.2, PHP 7, PHP 8, PECL hash >= 1.1
Pump data into an active hashing context from an open stream
<?php hash_update_stream(HashContext $context, resource $stream, int $length = -1): int