Using "aes-128-cbc" for encrypt password on android

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

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
razvan
Posts: 19
Joined: Tue Feb 24, 2015 10:16 am

Using "aes-128-cbc" for encrypt password on android

Post by razvan »

Hello!
When i try to log in my application on android appear this error on password " %3A+ssl+library+not+found".
On pc working well just on mobile appear this.
For encrypt password i used this function:

Code: Select all

function EncryptIt pItem
   local tHex, tKeyHex
   put "8822992277392018" into tKeyHex
   put "9382377475757343" into tIVHex
   encrypt pItem using "aes-128-cbc" with key tKeyHex and IV tIVHex at 128 bit
   put it into tValue
   if the result is Empty then
      return base64Encode ( tValue )
   else
      return "Error:" && the result
   end if
end EncryptIt
I hope someone knows how to solve this issue.
Thank you!
Klaus
Posts: 14324
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Using "aes-128-cbc" for encrypt password on android

Post by Klaus »

Hi razvan,

1. welcome to the forum! :D
2. Just to be sure:
You DID check "SSL & Encyption" in the standalone builder settings, did you?


Best

Klaus
razvan
Posts: 19
Joined: Tue Feb 24, 2015 10:16 am

Re: Using "aes-128-cbc" for encrypt password on android

Post by razvan »

Thank you so much Klaus!
Now it's working.
All the best!

Razvan.
Post Reply