How to make RSACryptoServiceProvider work without padding (nopadding)?

后端 未结 3 1752
无人共我
无人共我 2021-02-06 17:00

I need to make a C# application compatible with a Java application.

The Java application uses a Cipher.getInstance(\"RSA/ECB/nopadding\"); initializer to ma

3条回答
  •  我在风中等你
    2021-02-06 17:39

    Performing RSA without padding is almost certainly going to leave you with a broken (insecure) cryptosystem. If C# won't let you do it, then that's a point in C#'s favour. Get the Java side fixed.

提交回复
热议问题