C# RSA with no padding

后端 未结 2 1842
-上瘾入骨i
-上瘾入骨i 2021-02-06 16:28

I\'m busy trying to port Java code that looks like this

        Cipher rsa = Cipher.getInstance(\"RSA/ECB/nopadding\");
        rsa.init(Cipher.DECRYPT_MODE, RSA         


        
2条回答
  •  时光说笑
    2021-02-06 16:52

    You might want to get the code from BouncyCastle, http://www.bouncycastle.org/csharp/, and modify the code from the link below, and ensure that it can use the encryption that you list above.

    http://www.java2s.com/Code/Java/Security/Whatisinbouncycastlebouncycastle.htm

提交回复
热议问题