Announcement Announcement Module
Collapse
No announcement yet.
Acegi & Tapestry: A Step-by-Step Guide Page Title Module
Move Remove Collapse
This topic is closed
X
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    getCipherText

    Code:
    	
    /**
     * Accepts a plaintext password, as entered through a web form,
     * and encrypts the password using an un-salted MD5 algorithm
     * to produce a ciphertext password.  That ciphertext pasword
     * is then set as the private member variable 'password' of
     * this class.
     * 
     * @param password A cleartext password, as provided by a user
     * (usually through a web form)
     * 
     */
    public String getCipherText(String password){
        String encyptedpasswd = AcegiPasswordEncoder.encryptPasswordMD5(password);
    
        return encyptedpasswd;	    
    }

    Comment

    Working...
    X