public class PasswordHasher
: If you receive a "Checksum error" or "Wrong password" notification, double-check that you haven't included any trailing spaces when copying and pasting the password.
private static String bytesToHex(byte[] bytes) StringBuilder sb = new StringBuilder(); for (byte b : bytes) sb.append(String.format("%02x", b));