MessageDigestMessage Digest returning different key after first digest

Here is how I initialize MessageDigest private static MessageDigest messageDigest; public static final String SALT_DO_NOT_CHANGE = “somesalt”; static { try { …

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: TestBox.text = sha512(“…