BouncyCastle AES error when upgrading to 1.45

后端 未结 3 1884
耶瑟儿~
耶瑟儿~ 2020-12-05 21:34

Recently upgraded from BC 1.34 to 1.45. I\'m decoding some previously-encoded data with the following:

    SecretKeySpec skeySpec = new SecretKeySpec(raw, \"         


        
3条回答
  •  既然无缘
    2020-12-05 22:30

    According to the release notes, this fix was included in version 1.40:

    PKCS7Padding validation would not fail if pad length was 0. This has been fixed.

    This sounds like it may be pertinent.

提交回复
热议问题