You can just give it the password to encrypt on the command line to get its crypted version:

By default, the DES cipher will be used. You can override that from the command line by specifying another cipher as a second argument. Please note that the only cipher that is distributed with the JVM by default is DES.

Safety

Icon

This is not 100% safe as the password can be reverted. Take this feature as a convenience to avoid leaving an important password world-readable.

Using crypted password

Once you have the crypted version of your password, you just need to paste it instead of the plain text version. For instance in a Resource Loader configuration file:

or in the API calls:

BTM will automatically decrypt the password before using it to build the XA connection producer.

Limitation

Icon

Only driver property called password can contain a crypted password. Other ones won't go through the decryption process.

Bug in version 1.2

Icon

This feature is broken in version 1.2 as it does not work with API calls, see: BTM-7.
It is fixed in HEAD and a snapshot version containing the fix is available here.