带有散列函数的库 - JSP [英] Library with hash functions - JSP
本文介绍了带有散列函数的库 - JSP的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在php中有md5()来传递给它的字符串的MD5散列。那么JSP是否包含这样的预定义函数?
In php there is md5() to get a MD5 hash of string passed to it. So does JSP contains a predefined function like this ?
或者我可以轻松使用任何预制库,它包含所有类型的哈希函数? $ b
Or any premade library that i can use it easily, which contains all types of hash functions ?
推荐答案
内置: javax.crypto
。第三方: BouncyCastle 。
Java类中的哈希,例如servlet或自定义taglib。
Do the hashing in a Java class, such as a servlet or custom taglib.
这篇关于带有散列函数的库 - JSP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文