RSA encryption in Android and Java

后端 未结 3 1307
遇见更好的自我
遇见更好的自我 2021-02-03 16:32

I would like to encrypt a String with RSA encryption. My public/private keys were generated and stored in DB. In android, I use this code:

public static String e         


        
3条回答
  •  孤独总比滥情好
    2021-02-03 16:47

    I can´t comment yet so I answer.

    It is possible that different default configurations are being used. Check this question: Is there any difference between Apache's Base64.encodeBase64 and Android's Base64.encode with Base64.Default flag?

提交回复
热议问题