This topic has been archived. It cannot be replied.
-
工作学习 / 专业技术讨论 / 请问前辈如何 encode a string in SHA1 base64 hash ? Is there any utility there or do I have to write some java program ? Thx.
-rosella(rosa);
2006-11-25
(#3341582@0)
-
easy to find a C function on internet. And C is better at this.
-wind_cloud(风逝云栖);
2006-11-25
(#3341596@0)
-
Done in one line of java code, thx. Another stupid question, java is platform independent, so will I get the same result if the string is encoded in different OS such as Linux, or Window ?
-rosella(rosa);
2006-11-25
(#3341656@0)
-
SHA1是hashcode算法,和platform无关。只要seed一样,digest出来的code都是一样的。
-firebrand(Burning Wood);
2006-11-25
(#3342097@0)