being a java client would be easier to write a java password recovery with a copy&paste of the original code.
for example the following should be the core of the code that does the job:
Code:
  private Cipher getCipher(int mode, String password) throws Exception {
    Random random = new Random(43287234L);
    byte[] salt = new byte[8];
    random.nextBytes(salt);
    PBEParameterSpec pbeParamSpec = new PBEParameterSpec(salt, 5);
    SecretKey pbeKey = SecretKeyFactory.getInstance("PBEWithMD5AndDES").generateSecret(new PBEKeySpec(password.toCharArray()));
    Cipher cipher = Cipher.getInstance("PBEWithMD5AndDES");
    cipher.init(mode, pbeKey, pbeParamSpec);
    return cipher;
  }
  ...
      Cipher cipher = getCipher(2, "passwordfile");
      DataInputStream dis;
      dis = new DataInputStream(new CipherInputStream(new FileInputStream(lastLogin), cipher));
am I wrong or no login with minecraft.net today?