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 » Thu Sep 03, 2015 8:43 am

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: 14177
Joined: Sat Apr 08, 2006 8:41 am
Contact:

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

Post by Klaus » Thu Sep 03, 2015 1:20 pm

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 » Mon Sep 07, 2015 8:24 am

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

Razvan.

Post Reply