mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-04-19 03:01:48 +08:00
fix code
This commit is contained in:
parent
19a5876078
commit
13afb47a42
@ -20,8 +20,8 @@ import org.dromara.hutool.core.exception.HutoolException;
|
||||
|
||||
/**
|
||||
* 加密异常
|
||||
* @author Looly
|
||||
*
|
||||
* @author Looly
|
||||
*/
|
||||
public class CryptoException extends HutoolException {
|
||||
private static final long serialVersionUID = 8068509879445395353L;
|
||||
|
@ -62,8 +62,8 @@ public class AsymmetricCrypto extends AbstractAsymmetricCrypto<AsymmetricCrypto>
|
||||
* 自定义随机数
|
||||
*/
|
||||
private SecureRandom random;
|
||||
// ------------------------------------------------------------------ Constructor start
|
||||
|
||||
// region ----- Constructor
|
||||
/**
|
||||
* 构造,创建新的私钥公钥对
|
||||
*
|
||||
@ -163,7 +163,7 @@ public class AsymmetricCrypto extends AbstractAsymmetricCrypto<AsymmetricCrypto>
|
||||
public AsymmetricCrypto(final String algorithm, final KeyPair keyPair) {
|
||||
super(algorithm, keyPair);
|
||||
}
|
||||
// ------------------------------------------------------------------ Constructor end
|
||||
// endregion
|
||||
|
||||
/**
|
||||
* 获取加密块大小
|
||||
|
Loading…
x
Reference in New Issue
Block a user