Create HashingStream class