Hash generation on Server