title: String hashing function that would produce identical results in JavaScript and PHP
body: <p>I'd like to know is there a string hashing function that would produce identical results both in JavaScript and PHP, just to avoid text transmissions in cases when some textual data coming from the client side needs to be verified on the server side for being the same as expected?</p>