Package com.bld.crypto.aes
Class CryptoAesUtils
- java.lang.Object
-
- com.bld.crypto.bean.CryptoKeyUtils
-
- com.bld.crypto.aes.CryptoAesUtils
-
@Component public class CryptoAesUtils extends CryptoKeyUtils
The Class CryptoAesUtils.
-
-
Field Summary
-
Fields inherited from class com.bld.crypto.bean.CryptoKeyUtils
_252F, _2F, objMapper
-
-
Constructor Summary
Constructors Constructor Description CryptoAesUtils()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringdecryptUri(String value, String key)Decrypt uri.StringdecryptValue(String value, String key)Decrypt value.StringencryptUri(String value, String key)Encrypt uri.StringencryptValue(String value, String key)Encrypt value.protected InstanceTypeinstanceType()Instance type.-
Methods inherited from class com.bld.crypto.bean.CryptoKeyUtils
decryptValue, encodeValue, encryptValue, getCipher
-
-
-
-
Method Detail
-
instanceType
protected InstanceType instanceType()
Instance type.- Specified by:
instanceTypein classCryptoKeyUtils- Returns:
- the instance type
-
encryptValue
public String encryptValue(String value, String key)
Encrypt value.- Specified by:
encryptValuein classCryptoKeyUtils- Parameters:
value- the valuekey- the key- Returns:
- the string
-
decryptValue
public String decryptValue(String value, String key)
Decrypt value.- Specified by:
decryptValuein classCryptoKeyUtils- Parameters:
value- the valuekey- the key- Returns:
- the string
-
encryptUri
public String encryptUri(String value, String key)
Encrypt uri.- Overrides:
encryptUriin classCryptoKeyUtils- Parameters:
value- the valuekey- the key- Returns:
- the string
-
decryptUri
public String decryptUri(String value, String key)
Decrypt uri.- Overrides:
decryptUriin classCryptoKeyUtils- Parameters:
value- the valuekey- the key- Returns:
- the string
-
-