src/danog/MadelineProto/Stream/Common/HashedBufferedStream.php
public function getReadHash(): string
    {
        $hash = hash_final($this->read_hash, true);
        if ($this->rev) {
            $hash = strrev($hash);
        }
        $this->read_hash = null;
        $this->read_check_after = 0;
        $this->read_check_pos = 0;

        return $hash;
    }
public function getReadHash(): string
    {
        $hash = hash_final($this->read_hash, true);
        if ($this->rev) {
            $hash = strrev($hash);
        }
        $this->read_hash = null;
        $this->read_check_after = 0;
        $this->read_check_pos = 0;

        return $hash;
    }
public function getReadHash ( ) : string { $ hash = hash_final ( $ this -> read_hash , true ) ; if ( $ this -> rev ) { $ hash = strrev ( $ hash ) ; } $ this -> read_hash = null ; $ this -> read_check_after = 0 ; $ this -> read_check_pos = 0 ; return $ hash ; }
Stop read hashing and get final hash.

@return string
Stop read hashing and get final hash .