Search:

Type: Posts; User: A4Andy

Search: Search took 0.24 seconds.

  1. Replies
    14
    Views
    3,446

    Re: How to convert password to md5?

    it's now working well



    import java.awt.*;
    import java.awt.event.*;
    import java.security.*;
    import java.math.*;

    import javax.swing.*;
  2. Replies
    14
    Views
    3,446

    Re: How to convert password to md5?

    what do you mean I think only once.
  3. Replies
    14
    Views
    3,446

    Re: How to convert password to md5?

    Here is my whole db class


    import java.awt.*;
    import java.awt.event.*;
    import java.security.*;
    import java.math.*;

    import javax.swing.*;
    import javax.swing.text.AttributeSet;
  4. Replies
    14
    Views
    3,446

    Re: How to convert password to md5?

    public class HandlerClass1 implements ActionListener {
    public void actionPerformed(ActionEvent event)
    {

    100 char[] pass = pfPword.getPassword();
    101 String s= new String(pass);
    102...
  5. Replies
    14
    Views
    3,446

    Re: How to convert password to md5?

    Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
    at db$HandlerClass1.actionPerformed(db.java:100)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2012)...
  6. Replies
    14
    Views
    3,446

    Re: How to convert password to md5?

    too bad I don't know how to get the value of JPasswordField using JButton as the trigger. I already knew converting from String to md5 but not from JPasswordField to md5.

    I tried this code but it...
  7. Replies
    14
    Views
    3,446

    How to convert password to md5?

    I want to convert the input in a jpasswordfield to md5 but the problem is I don't know how
Results 1 to 7 of 7