亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

java加密 KeyGenerator的Provider參數怎么用?

java加密 KeyGenerator的Provider參數怎么用?

慕田峪9158850 2018-09-05 21:18:22
java加密 KeyGenerator的Provider參數怎么用?
查看完整描述

1 回答

?
心有法竹

TA貢獻1866條經驗 獲得超5個贊

KeyGenerator 可用的算法在 Java 文檔中可以查到:
Java Cryptography Architecture Standard Algorithm Name Documentation

摘抄表格如下

Algorithm NameDescription
AESKey generator for use with the AES algorithm.
ARCFOURKey generator for use with the ARCFOUR (RC4) algorithm.
BlowfishKey generator for use with the Blowfish algorithm.
DESKey generator for use with the DES algorithm.
DESedeKey generator for use with the DESede (triple-DES) algorithm.
HmacMD5Key generator for use with the HmacMD5 algorithm.
HmacSHA1, HmacSHA224, HmacSHA256, HmacSHA384, HmacSHA512Keys generator for use with the various flavors of the HmacSHA algorithms.
RC2Key generator for use with the RC2 algorithm.

Provider 大概是根據算法名稱提供算法的一個提供程序,你可以參考一下 Java Cryptography Architecture (JCA) Reference Guide 中的相關章節。一般情況下不需要自己去實現 Provider。


查看完整回答
反對 回復 2018-09-16
  • 1 回答
  • 0 關注
  • 740 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號