I am using Jasypt in a linux bash script where I want to encrypt a text string with the algorithm PBEWithHmacSHA1AndDESede. When running the command:
./encrypt.sh input="This is my message to be encrypted" password=MYPAS_WORD verbose=false algorithm=PBEWITHHMACSHA1ANDDESEDE
I get the error:
ERROR: java.security.NoSuchAlgorithmException: PBEWITHHMACSHA1ANDDESEDE SecretKeyFactory not available
According to this link, PBEWithHmacSHA1AndDESede is included in SunJCE. My assumption is that SunJCE is included in the latest JDK. Is this correct? If not, how can I download the SunJCE jar file?