Getting error while decryption

0
Hello Expert,   I am having issue in encryption module, It comes from ‘Decrypt’ java action and error stack track is as below.   “Error while decrypting string: Given final block not properly padded. Such issues can arise if a bad key is used during decryption.”  any lead would be helpful?   Thanks, Amol Salunke,
asked
3 answers
4

Hi Amol Salunke.,

            Download Encryption Module in Market Place., Search Encryption Module > Private-String En/de Cryption > APIs > Encryption Key

Open the Encryption Key File and enter 32 digit Characters ( Alphanumeric).

 

 

 

 

 

 

 

answered
2

For encryption, you need EncryptionKey and EncryptionPrefix.

You must use the same Key and Prefix for encryption and decryption.

If you use different key and prefix, you will get this error: 

answered
0

You need put 32 characters in this 2 constants.

If it worked, please mark it as right.

 

answered