Error Message thrown when Encrypting passwords

Applies to: Ephesoft Transact and above on Windows


When encrypting passwords, you may see the following error message in the logs during Transact startup: Windows Server 2012 R2 2017-03-29 11:38:21,723 ERROR set_variables - User Defined Java Class com.ephesoft.dcma.encryption.core.EncryptorDecryptor - Decryption : Algorithm parameter is invalid Salt must be 8 bytes long
at com.sun.crypto.provider.PBES1Core.init(
at com.sun.crypto.provider.PBEWithMD5AndDESCipher.engineInit(
at javax.crypto.Cipher.implInit(
at javax.crypto.Cipher.chooseProvider(
at javax.crypto.Cipher.init(
at javax.crypto.Cipher.init(
at com.ephesoft.dcma.encryption.core.EncryptorDecryptor.startCrypting(
at com.ephesoft.dcma.encryption.core.EncryptorDecryptor.decryptString(
at com.ephesoft.dcma.encryption.core.PasswordDecryptor.getDecyrptedString(
at com.ephesoft.dcma.encryption.core.PasswordDecryptor.decrypt(
at Processor.processRow(
at org.pentaho.di.trans.steps.userdefinedjavaclass.UserDefinedJavaClass.processRow(

Root Cause

This error occurs if you have not encrypted the login username and password in the file.


Add the following properties to the file, in encrypted format:

  • ephesoft.loginusername
  • ephesoft.loginpassword

Note: This error message has no impact on the encryption functionality. Password encryption will work without any issues if configured properly.