Since I cannot use SSL due to lack of support with SNI
I wish to encrypt my http post data, and php code to decrypt it on server side
and vise versa (php encrypt, phone to decrypt)
What is the best way doing it, while the code need to work also from Iphone using B4I (not mandatory)
Erel/Guys I need you help here
I manage to make this to work using https://www.b4x.com/android/forum/threads/crypt-b4a-and-php.15715/#post-307571
but since this is not supported on IOS I need to switch to something that will work on B4J, B4A, B4i
simple encrypt/decrypt on my post, so wireshark cannot see the data in clear text
what do you suggest? any code example?
try that char replacement method I wrote about last week.
it's easy, will work on any system and your text will be scrambled thus unreadable, you can even replace the chars with ascii save signs like ,;:?./()&@#'! etc
What we really need here is RSA because it's a problem to communicate with more than one client and even worse to exchange the keys with other methods like AES or DES.
RSA is standard for Server encryption (SSL AND non SSL). So it will be a huge step to implement this.
@Erel: I got stuck to make the keys (b4a and Server) byte compatible. Will need some help here and post some examples at the weekend.