Well... It's getting closer...
What I got so far is:
1. an working b4a example generating RSA-Keys (public and private), en- and decrypting of data is working well -> = Agrahams example
2. a batch cmd to generate the Keys via OpenSSL on the server
3. a working php script which get's the once generated keys, en- and decrypting of data is working well
What I need is how do I convert, handle and exchange the keys (from/to) b4a <-> server and in which format? I have some apps running using DES encryption with php. No problem at all but RSA (only the keys and how to get the "right" "string" to use) makes me mad.
So what do I need on both sides?
The Key it'sself (of course)
What "part" of it?
Base64 encoding? (think so)
UTF8? (think so).
toBytes?
fromBytes?
@agraham : Could you please help here? (Anyone else is welcome)