This is fine but can be easily cracked. Initially i too have used this kind of logic but later on came to know that this kind of simple encryption are easy to crack. The public key and private key cryptography technique provides very strong encryption. As without a private key its very difficult to crack the encryption.
-----Original Message----- From: Aruniima Chakrabarti [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 04, 2002 3:08 PM To: [EMAIL PROTECTED] Subject: Re: Password encryption Hi, I am attaching the code to encrypt a password & to decrypt the same.... Regards, aruniima ==========================================================================To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com