String (@Nullable String password) { if (password == null) { return ""; } StringBuilder result = new StringBuilder(); for (int i = 0; i < password.length(); i++) { result.append(Integer.toHexString(password.charAt(i) ^ 0xdfaa)); } return result.toString(); }