mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
fix comment
This commit is contained in:
@@ -3,23 +3,23 @@ package cn.hutool.crypto.symmetric;
|
|||||||
/**
|
/**
|
||||||
* 对称算法类型<br>
|
* 对称算法类型<br>
|
||||||
* see: https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#KeyGenerator
|
* see: https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#KeyGenerator
|
||||||
*
|
*
|
||||||
* @author Looly
|
* @author Looly
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public enum SymmetricAlgorithm {
|
public enum SymmetricAlgorithm {
|
||||||
/** 默认的AES加密方式:AES/ECB/PKCS5Padding */
|
/** 默认的AES加密方式:AES/ECB/PKCS5Padding */
|
||||||
AES("AES"),
|
AES("AES"),
|
||||||
ARCFOUR("ARCFOUR"),
|
ARCFOUR("ARCFOUR"),
|
||||||
Blowfish("Blowfish"),
|
Blowfish("Blowfish"),
|
||||||
/** 默认的DES加密方式:DES/ECB/PKCS5Padding */
|
/** 默认的DES加密方式:DES/ECB/PKCS5Padding */
|
||||||
DES("DES"),
|
DES("DES"),
|
||||||
/** 3DES算法,默认实现为:DESede/CBC/PKCS5Padding */
|
/** 3DES算法,默认实现为:DESede/ECB/PKCS5Padding */
|
||||||
DESede("DESede"),
|
DESede("DESede"),
|
||||||
RC2("RC2"),
|
RC2("RC2"),
|
||||||
|
|
||||||
PBEWithMD5AndDES("PBEWithMD5AndDES"),
|
PBEWithMD5AndDES("PBEWithMD5AndDES"),
|
||||||
PBEWithSHA1AndDESede("PBEWithSHA1AndDESede"),
|
PBEWithSHA1AndDESede("PBEWithSHA1AndDESede"),
|
||||||
PBEWithSHA1AndRC2_40("PBEWithSHA1AndRC2_40");
|
PBEWithSHA1AndRC2_40("PBEWithSHA1AndRC2_40");
|
||||||
|
|
||||||
private final String value;
|
private final String value;
|
||||||
@@ -39,4 +39,4 @@ public enum SymmetricAlgorithm {
|
|||||||
public String getValue() {
|
public String getValue() {
|
||||||
return this.value;
|
return this.value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user