Are you using Spring Security? Its very simple then.

On Mon, Nov 30, 2009 at 9:34 AM, Nguyen Xuan Son <yama...@gmail.com> wrote:

> Dear all
> i would like to encrypted the password into sha1 code
> although I tried to search whether is there any class that I can simply use
> as i did in PHP (just simply use the method sha1(string)) but failed
> do you have any suggestion?
>
> thank you very much
>
> --
> =======================================================================
> Ritsumeikan University, Asia JinZai Project
> Master of Information Science
> Nguyen Xuan Son
>
> Add       : Japan, Shiga-Ken, Kusatsu-Shi, Kasayama 3choume 1-18
> ShiteiHaimu
> Rien, Room 103
> Tel/Fax  : 81-(0)90-3976 2246
> Email    : nr000...@ed.ritsumei.ac.jp
> Mobile   : 81-(0)90-3976 2246          URL  : http://www.ritsumei.jp
> =======================================================================
>



-- 
Saeed Iqbal
Independant Consultant (Freelance)
Struts - J2EE - Application Architect / Developer

Reply via email to