RSA decryption on Android mobile.

The place to discuss anything and everything about running your LiveCode on Android

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Ashkan
Posts: 7
Joined: Thu Jun 04, 2015 12:45 pm

RSA decryption on Android mobile.

Post by Ashkan » Thu Jun 04, 2015 1:07 pm

I have encrypted a short text with 'encrypt using rsa with private key...' and then decrypted in with 'decrypt using rsa with public key...' Everything is ok on my PC.
When I save my stack as standalone on Android , the trouble begins!
As soon as the program reaches the line: decrypt using rsa ... the program hangs and Android returns to Home
without any error message!
The problem is NOT with any syntax error or a wrong call to decrypt function because it works on PC very well. Encryption is done on PC and decryption on Android mobile.

I highly appreciate any comment.

dave.kilroy
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 858
Joined: Wed Jun 24, 2009 1:17 pm
Contact:

Re: RSA decryption on Android mobile.

Post by dave.kilroy » Thu Jun 04, 2015 2:20 pm

Hi Ashkan and welcome to the forum (if you haven't been welcomed already)

In the Standalone Settings dialog box, in the 'General' tab, is 'SSL & Encryption' selected? (or if not is 'Search for required inclusions when saving the standalone application' selected?

Also in the Standalone Settings dialog box, in the 'Android' tab, is the 'SSL & Encryption' external selected? One final thing to check is in the 'Permissions' section - are you using connections to the internet (for example) without including this in the permissions?

If these don't work for you can you give us details of your setup (version of LiveCode) etc and if possible the code you're using...
"...this is not the code you are looking for..."

Ashkan
Posts: 7
Joined: Thu Jun 04, 2015 12:45 pm

Re: RSA decryption on Android mobile.

Post by Ashkan » Thu Jun 04, 2015 7:04 pm

I really thank you a lot.
You saved me from a perplexity!!
It worked well and it was a relief after hours.

dave.kilroy
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 858
Joined: Wed Jun 24, 2009 1:17 pm
Contact:

Re: RSA decryption on Android mobile.

Post by dave.kilroy » Thu Jun 04, 2015 7:33 pm

yay!

<doing the "the bug is dead, the bug is dead" dance>...
"...this is not the code you are looking for..."

Post Reply