Quantcast
Channel: SCN : All Content - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 7030

BadPaddingException: Invalid PKCS#5 padding: not all padding bytes are equal!

$
0
0

Hi,

 

  I am trying to decrypt an encrypted customer record that has Last Name, First Name and Middle Name(All these 3 fields come encrypted).

 

I am getting this exception while decrypting the middle name. Tried sending trimmed encrypted value to the decryption module and also non-trimmed encrypted value to the decryption module but didn't yield any furitful result.

 

com.triversity.security.service.GeneralTWSecurityException: com.triversity.security.service.GeneralTWSecurityException: javax.crypto.BadPaddingException: Invalid PKCS#5 padding: not all padding bytes are equal!

 

I am using TW Security libraries for decryption provided by SAP.

 

Any pointers to this issue is truly appreciated.

 

Thanks,

Sarat


Viewing all articles
Browse latest Browse all 7030

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>