Skip to content
Advertisement

SHA-512 hashing with Android

I was wondering if I can SHA-512 hash a string on Android Studio without a salt.

I’ve seen other questions, but they all involve the salt, but I want something like this:

JavaScript

And TextBox will read c1527cd893c124773d811911970c8fe6e857d6df5dc9226bd8a160614c0cd963a4ddea2b94bb7d36021ef9d865d5cea294a82dd49a0bb269f51f6e7a57f79421;

Advertisement

Answer

The other questions you saw use salt so just don’t use salt like so:

JavaScript

Based on this answer.

User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement