Update keygen.java