SHA512 hashes differ on android, php and javascript
I am using the SHA512 hash to transfer some encrypted data between my app and it's backend. However, I'm having a odd situation and have no idea what might be causing it. So, I've got following setups tested: Android 2x SHA512 Android 1x SHA512 -> CryptoJS 1x SHA512 PHP 2x SHA512 So, when I do the first 2x Android hashing, I get the same result as when I do the 1x android -> 1x cryptojs. However, when I do the PHP 2x, I get the same result as I get on the first Android pass, but the second encryption pass of the PHP is different. On PHP, I've tried both the hash() and openssl_digest()