I’ve used Base64 Decoding in to send a password to server in my application. But my server side support suggested me to use AES base64 specifically; I googled about it a bit and found out This reason for not to use AES base64 in android; But if I send the normal base64 (in android.util.Base64) encrypted string, can we decrypt it into the original string by using AES base 64?
I’ve used Base64 Decoding in to send a password to server in my application.
Share
the fact that sun implemented some files that are not part of the standard jdk, does not mean you can’t find some other impl of them that comply to the same protocol you desire.
In your case, check what you mean by “encryption”. After all, base64 is not a way to encrypt/decrypt, just to encode/decode some bytes in a completely reversible way, without any need for a secret key. AES, however, uses a cryptographic key, so it depends if your server is expecting you to send an already AES-encrypted buffer, encoded in base64… you should try to find this out.