摘要: 第二部分:认证 当比较两条消息是否一致时,我们不必直接对比消息本身的内容,只要对比它们的“指纹”就行了。 一、单向散列函数(one-way hash function) 单向散列函数也称为消息摘要函数(message digest function)、哈希函数或者杂凑函数。 单向散列函数有一个输入和 阅读全文
posted @ 2019-10-23 19:03 杨岂 阅读(996) 评论(0) 推荐(0) 编辑
摘要: AESUtil: import com.xxx.common.BssException; import com.xxx.common.constants.CommonConstants; import javax.crypto.Cipher; import javax.crypto.KeyGener 阅读全文
posted @ 2019-10-23 15:16 杨岂 阅读(895) 评论(0) 推荐(0) 编辑