badpadding

  1. M

    B4J Question EncryptData Using a receiving Key- javax.crypto.BadPaddingException

    I have to encrypt data using a key received from a service. The function below is written as per instruction given from supplier. It crashes and giving javax.crypto.BadPaddingException: Given final block not properly padded. Anyone kindly advise how to resolve same. Thanking you in advance...
Top