Encryption / Decryption

Does anyone know of any pure Lua encryption/decryption libraries that can be used with Corona? [import]uid: 5833 topic_id: 1907 reply_id: 301907[/import]

Have you checked out the crypto library included with Corona? What are you looking for?

-Tom [import]uid: 7559 topic_id: 1907 reply_id: 5731[/import]

I may be wrong (usually am) but that seemed to be more for one way hashing rather any actual encryption/decryption? [import]uid: 5833 topic_id: 1907 reply_id: 5736[/import]

There is no encryption/decryption functions available at this time. I’ll add it to your feature request list.

Thanks,
-Tom [import]uid: 7559 topic_id: 1907 reply_id: 6196[/import]

I am confused. Doesn’t apple iTunes Connect require encryption? I am about to release an app and can’t find any info on this. Could you point me to any documents please?

Thanks [import]uid: 8192 topic_id: 1907 reply_id: 8317[/import]

+2 for the need for SSL
ssh would be nice
pgp would be nice
These exist as open intents for Android already [import]uid: 10016 topic_id: 1907 reply_id: 8325[/import]

@amigoni, you don’t need any encryption in Corona to release an app for iTunes.

-Tom [import]uid: 7559 topic_id: 1907 reply_id: 8327[/import]

Tom - has anything like this been added yet? I need to encrypt a file created by an app and email it and then have tool to unencrypt on the other end.

Any suggestions are appreciated.

Thanks

Neil [import]uid: 140436 topic_id: 1907 reply_id: 101356[/import]

Nothing has been addd to Corona to do encryption/decryption. We may add a bit library (similar to what’s included in Lua 5.2) in the future that will allow you to write more efficient encryption routines, but I doubt encryption/decryption APIs will be included.

There are a few Lua-only bit libraries available that can be used to create encryption routines. This would work as long as the file you want to encrypt is small. (The Lua-only bit libraries would be slow for encrypting large files.) Do a Google search to find out more. [import]uid: 7559 topic_id: 1907 reply_id: 101366[/import]

Thanks for the response. My files could be 10 meg+ - is that too big.

Do you know if there is a way to call a “zip” library via Corona and implement a password on it?

Thanks

Neil [import]uid: 140436 topic_id: 1907 reply_id: 101393[/import]

Any news on this? I’m trying to create a chat feature where the user types a message in and sends it to our servers, since the user can type in any character into the textfield it would be good to encrypt the message when sending it to the server otherwise the message risks to break the network.request [import]uid: 14018 topic_id: 1907 reply_id: 106280[/import]

@Mitaten - The ‘Asynchronous HTTP’ can create/use an encrypted connection.

http://developer.anscamobile.com/reference/index/networkrequest
Jeff
[import]uid: 14119 topic_id: 1907 reply_id: 106283[/import]

HabitatSoftware, I was suggested to look into the url.escape/unescape API and it fixed my issue :slight_smile: Thanks, [import]uid: 14018 topic_id: 1907 reply_id: 106286[/import]