Skip to content

Commit

Permalink
修正switchEncrypt中的DES加密算法Key获取 - about issue : #5
Browse files Browse the repository at this point in the history
  • Loading branch information
Licoy committed Mar 12, 2019
1 parent 84a6bfe commit 9e1d687
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ private String switchEncrypt(String formatStringBody,EncryptAnnotationInfoBean i
}
String key = infoBean.getKey();
if(method == EncryptBodyMethod.DES){
key = CheckUtils.checkAndGetKey(config.getAesKey(),key,"DES-KEY");
key = CheckUtils.checkAndGetKey(config.getDesKey(),key,"DES-KEY");
return DESEncryptUtil.encrypt(formatStringBody,key);
}
if(method == EncryptBodyMethod.AES){
Expand Down

0 comments on commit 9e1d687

Please sign in to comment.