The PHP appears to be encoded somehow, whereas the Java is a pure number.
Looks like you have a bit of research ahead.
(*Chris*)
On Sun, Nov 29, 2009 at 9:01 PM, Nguyen Xuan Son wrote:
> Dear Chris
> after I encrypted the password into sha1 code
> with the string "123456" i got the
> result:
>
Dear Chris
after I encrypted the password into sha1 code
with the string "123456" i got the
result: 124-74-141-9-202-55-98-175-97-229-149-32-148-61-194-100-148-248-148-27
but it looks different from what i've made by using PHP method:
?2S?j?k?-Jo?=????A??J??v!??3?Hm?F?????^???y~???Td
java.security.MessageDigest
(*Chris*)
On Sun, Nov 29, 2009 at 8:34 PM, Nguyen Xuan Son 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(stri
Are you using Spring Security? Its very simple then.
On Mon, Nov 30, 2009 at 9:34 AM, Nguyen Xuan Son 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 met
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
--
=
5 matches
Mail list logo