Package com.bld.crypto.aes
Class CryptoAesUtils
java.lang.Object
com.bld.crypto.bean.CryptoKeyUtils
com.bld.crypto.aes.CryptoAesUtils
The Class CryptoAesUtils.
-
Field Summary
Fields inherited from class com.bld.crypto.bean.CryptoKeyUtils
objMapper -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondecryptUri(String value, String key) Decrypt uri.decryptValue(String value, String key) Decrypt value.encryptUri(String value, String key) Encrypt uri.encryptValue(String value, String key) Encrypt value.Methods inherited from class com.bld.crypto.bean.CryptoKeyUtils
decryptValue, encodeValue, encryptValue, getCipher
-
Constructor Details
-
CryptoAesUtils
public CryptoAesUtils()
-
-
Method Details
-
encryptValue
Encrypt value.- Specified by:
encryptValuein classCryptoKeyUtils- Parameters:
value- the valuekey- the key- Returns:
- the string
-
decryptValue
Decrypt value.- Specified by:
decryptValuein classCryptoKeyUtils- Parameters:
value- the valuekey- the key- Returns:
- the string
-
encryptUri
Encrypt uri.- Overrides:
encryptUriin classCryptoKeyUtils- Parameters:
value- the valuekey- the key- Returns:
- the string
-
decryptUri
Decrypt uri.- Overrides:
decryptUriin classCryptoKeyUtils- Parameters:
value- the valuekey- the key- Returns:
- the string
-