Creating Obfuscated Data Using Obfuscation Utility
CT-V includes a data obfuscation utility that obfuscates sensitive information such as password or credentials. You can also obfuscate Key Manager and database credentials with this utility.
To obfuscate data, use the following command:
java -cp SafeNetTokenService-8.12.3.000.jar com.safenet.token.obfuscate.obfuscator <dataToObfuscate>
Example of Password Obfuscation
To obfuscate a password, say Mypassword:
java -cp SafeNetTokenService-8.12.3.000.jar com.safenet.token.obfuscate.obfuscator Mypassword
Obfuscated value for input data is: ab29689f8e9e92721642b4cac822bf89
Example of Credential Obfuscation
To obfuscate DB credentials, say DBuser:
java -cp SafeNetTokenService-8.12.3.000.jar com.safenet.token.obfuscate.obfuscator DBuser
Obfuscated value for input data is: ia14689f8s0g92721642b4cac822kv5
To obfuscate DB credentials, say DBpassword:
java -cp SafeNetTokenService-8.12.3.000.jar com.safenet.token.obfuscate.obfuscatorDBpassword
Obfuscated value for input data is: cf296t67f8e9e92721642b4cac822bj14f
Similarly, you can also obfuscate Key Manager credentials.
On the Linux machines, if the password to be obfuscated contains $
character, use \
character before $
. For example, if car$123s
is to be obfuscated, then pass it in the utility as car\$123s
.