CryptoDataUtility
CryptoDataUtility allows the user to decrypt a string without specifying the keyName
and algorithm. To accomplish this, the ciphertext, at the time of encryption, is bundled with the same metadata, of the key, which was used for encryption.
On installing CADP for Java, the CryptoDataUtility.jar
gets placed in the installation directory. The user must explicitly add reference of CryptoDataUtility.jar
to the application. The CryptoDataUtility sample is available on Github.
Algorithms that can be used with CryptoDataUtility are:
AES/CBC/PKCS5Padding
AES/CBC/NoPadding