So today I’ve learned that BouncyCastle is the default RSA Encryption Provider on Android and it uses this scheme as a default : “RSA/NONE/NoPadding”.
I’m trying to communicate with a server side application that I have written which is currently handling web request and iOS requests. The problem I’m facing is that my server side application has a different default implementation, namely SUN’s : “RSA/NONE/PKCS1Padding”.
I’m wondering if there is a way for my Android application to implement “RSA/NONE/PKCS1Padding”. All the fixes I’ve seen on articles and questions involve modifying the server side code to implement BouncyCastle. If possible I’d like to stay away from this solution as it involves a lot of work for me to re-work my server-side request processing in order to accommodate Android devices.
Any tips or links to article that I may have overlooked would be greatly appreciated.
You don’t show any code. Have you tried