PHP SHA-512 Hasher

While doing some PHP coding for ZombieCC.Net, I found that I needed to reliably generate a SHA-512 hash of some text. Later on I needed to include a salt with the text.

Normally, I'd just code up a page with the salt and text I need in the code, then view it from the browser and copy the resulting hash, but this time I needed something I could link to the users and get their respective hashes in order to update their user accounts (I was updating the user login and password hashing code). Thus, this hasher page was born.

This hasher will let you enter in your own salt and plaintext and get the resulting hash. You can click the 'View PHP Source' link to get the source code. I added the source code link to prove that I am not storing any data that is submitted to the page. You can take the code and run it on your own server installation if you wish.

I realize this is a rather primitive means of hashing with a salt, but it is valid and does work. Just make sure to keep the salt secure in your PHP code.

Site Support