remote-curl: make hash size independent