@LoadLevel(name="hutool", order=100) public class HutoolCryptoGeneratorImpl extends Object implements ICryptoGenerator
| Constructor and Description |
|---|
HutoolCryptoGeneratorImpl() |
| Modifier and Type | Method and Description |
|---|---|
IAsymmetricCrypto |
getAsymmetricCrypto(String algorithm,
PublicKey publicKey,
PrivateKey privateKey)
生成非对称加密算法
|
ISymmetricCrypto |
getSymmetricCrypto(String algorithm,
SecretKey secretKey,
AlgorithmParameterSpec algorithmParameterSpec)
生成对称加密算法
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAsymmetricCrypto, getAsymmetricCrypto, getSymmetricCrypto, getSymmetricCrypto, getSymmetricCryptopublic ISymmetricCrypto getSymmetricCrypto(@NonNull String algorithm, @NonNull SecretKey secretKey, @Nullable AlgorithmParameterSpec algorithmParameterSpec)
getSymmetricCrypto in interface ICryptoGeneratoralgorithm - 算法secretKey - 密钥algorithmParameterSpec - 算法参数public IAsymmetricCrypto getAsymmetricCrypto(@NonNull String algorithm, @NonNull PublicKey publicKey, @NonNull PrivateKey privateKey)
getAsymmetricCrypto in interface ICryptoGeneratoralgorithm - 算法publicKey - 公钥privateKey - 私钥Copyright © 2021–2022 EasyJ????. All rights reserved.