Update rmshash.php

Fix security bug in hashing