I used your library to send a simple message which should be decrypted by java with both process and processNoPadding. In java i used "NoPadding" or "PKCS5Padding" and "NoPadding" decrypts but the result is not good, and "PKCS5Padding" gives this error Error while decrypting: javax.crypto.BadPaddingException: Given final block not properly padded. Such issues can arise if a bad key is used during decryption. Can you please help me understand how to better use the library? I guess the iv changes from the initial value of 16 X 0s. I would highly appreciate your answer!
I used your library to send a simple message which should be decrypted by java with both process and processNoPadding. In java i used "NoPadding" or "PKCS5Padding" and "NoPadding" decrypts but the result is not good, and "PKCS5Padding" gives this error Error while decrypting: javax.crypto.BadPaddingException: Given final block not properly padded. Such issues can arise if a bad key is used during decryption. Can you please help me understand how to better use the library? I guess the iv changes from the initial value of 16 X 0s. I would highly appreciate your answer!