Obfuscate Credentials
Credentials can be obfuscated using any of the following options:
Passphrase utility
From CADP for Java 8.14.0 release onward, the Passphrase.jar utility is no longer part SDK package. To obtain the obfuscation functionality provided by the Passphrase.jar utility, use the ObfuscationUtilitySample.java
sample available on Github.
Obfuscation API
Use the IngrianProvider.obfuscate
API to obfuscate username and password. The following sample shows how this API obfuscates Username using the API.
String userName = "Username";
String userNameEncrypted = IngrianProvider.obfuscate(userName.getBytes());
Obfuscated Text: 066C56CDC1A4737392D22317C61523CD