我如何使用' PBEWithHmacSHA1AndDESede'与Jasypt?

时间:2016-03-20 22:03:08

标签: java encryption jce hmacsha1

我在linux bash脚本中使用Jasypt,我想用算法 PBEWithHmacSHA1AndDESede 加密文本字符串。运行命令时:

@people.each do |person|

我收到错误:

./encrypt.sh input="This is my message to be encrypted" password=MYPAS_WORD verbose=false algorithm=PBEWITHHMACSHA1ANDDESEDE

根据此link,PBEWithHmacSHA1AndDESede包含在SunJCE中。我的假设是SunJCE包含在最新的JDK中。它是否正确?如果没有,我该如何下载SunJCE jar文件?

0 个答案:

没有答案