I recently maven-ized jBCrypt. It should now be in Maven Central. More information can be found in the following links:
http://bit.ly/f1am9m jBCrypt makes secure hashes easy to salt, store and compare. Tim -----Original Message----- From: Freddy Daoud [mailto:xf2...@fastmail.fm] Sent: Tuesday, January 11, 2011 8:10 AM To: Stripes Users List Subject: Re: [Stripes-users] decode +1 on Apache Shiro, it's a good alternative. Thanks Janne for the writeup! Cheers, Freddy On Tue, 11 Jan 2011 15:03 +0200, "Janne Jalkanen" <janne.jalka...@ecyrd.com> wrote: > > BTW, this reminds me... If your Stripes app needs security, using Apache > Shiro together with Stripes is a breeze. > > http://www.ecyrd.com/ButtUgly/wiki/Main_blogentry_100910_1 > > /Janne > > On 11 Jan 2011, at 00:12, Joaquin Valdez wrote: > > > Hello! > > > > In the Stripes book there is an example of encoding a password to be stored in the database: > > > > try { > > MessageDigest md = MessageDigest.getInstance("SHA-1"); > > byte[] bytes = md.digest(password.getBytes()); > > ep = Base64.encodeBytes(bytes); > > System.out.println(ep); > > > > > > } > > catch (NoSuchAlgorithmException exc) { > > throw new IllegalArgumentException(exc); > > } > > > > Does anyone have example code of how to decode the encrypted value from the code above? > > > > Thank you! I have tried to do this longer than I care to admit :-) > > > > > > Joaquin Valdez > > joaquinfval...@gmail.com > > > > > > > > > > ------------------------------------------------------------------------ ------ > > Gaining the trust of online customers is vital for the success of any company > > that requires sensitive data to be transmitted over the Web. Learn how to > > best implement a security strategy that keeps consumers' information secure > > and instills the confidence they need to proceed with transactions. > > http://p.sf.net/sfu/oracle-sfdevnl > > _______________________________________________ > > Stripes-users mailing list > > Stripes-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/stripes-users > > > ------------------------------------------------------------------------ ------ > Gaining the trust of online customers is vital for the success of any > company > that requires sensitive data to be transmitted over the Web. Learn how > to > best implement a security strategy that keeps consumers' information > secure > and instills the confidence they need to proceed with transactions. > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Stripes-users mailing list > Stripes-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/stripes-users > ------------------------------------------------------------------------ ------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users Barclays www.barclaycardus.com This e-mail and any files transmitted with it may contain confidential and/or proprietary information. It is intended solely for the use of the individual or entity who is the intended recipient. Unauthorized use of this information is prohibited. If you have received this in error, please contact the sender by replying to this message and delete this material from any system it may be on. ------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users