How to verify data from localStorage on a serverThe MD5 hash can easily be created by a malicious client. A better approach would be to create a unique value on the server, combined with a timestamp and user details on the server and encrypt that with a key known only to the server prior to sending to the client.