Hello @Jaganathan, Naveen ,
Thanks for the question and using MS Q&A platform.
As the error message clearly says, that the value you provided for the encrypted binary expression parameter (nothing but Field-value
in your example) is not correct or incomplete or shorter than it has to be which is why you are seeing the above error message.
I tried to reproduce the same using a sample below and was able to reproduce the issue by passing a shorter binary expression parameter value while decrypting. Please see below
But when I have provided the accurate/correct encrypted binary expression parameter value for the decryption, then it works as expected. Please see below:
Hence, I would recommend making sure you are passing the correct encrypted binary expression parameter value to aes_decrypt()
function.
Hope this will help. Please let us know if any further queries.
------------------------------
- Please don't forget to click on
or upvote
button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how