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
2 answers
1

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