0

I'm trying to write a asymmetric key encryption using Java (without open source libraries like Apache CXF).

I'm able to do with Apache CXF, but without open source library - I hit the error "given final block not properly padded".

I need help with a Java sample code on how this can be achieved, using the below algo's:

I'm trying to encrypt the soap-header --> usernametoken.

pcs
  • 73
  • 1
  • 3
  • Please can you follow that link https://stackoverflow.com/questions/15622924/aes-error-given-final-block-not-properly-padded – Bheem Singh Jan 31 '19 at 14:12
  • Please can you follow that link https://stackoverflow.com/questions/15622924/aes-error-given-final-block-not-properly-padded – Bheem Singh Jan 31 '19 at 14:13

0 Answers0