Encryption Support - What's Included?

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
skider86
Posts: 5
Joined: Mon Nov 17, 2008 4:08 am

Encryption Support - What's Included?

Post by skider86 » Mon Nov 17, 2008 4:26 am

I seem to not be able to find any details on exactly what is included in the enterprise version with respect to encryption.

Page 365 of the user's guide has a blurb about implementing your own secure protocol, but it refers to a Dictionary document that appears to only be available for purchase in hard-copy format. I did search for dictionary on the runrev.com site and it returns a hit of "Dictionary goes here" which leads to a non-existent page.

Specifically I need SHA-1 support and I am all but sure that SHA-1 is required to support SSL, which is also mentioned as being included in the enterprise version. So, one would think SHA-1 would be there, but I just see MD5 and some generic encrypt/decrypt references. Is there a document I am overlooking that details exactly what is included and its capabilities?

Janschenkel
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 977
Joined: Sat Apr 08, 2006 7:47 am
Contact:

Post by Janschenkel » Mon Nov 17, 2008 9:01 am

Use the 'cipherNames' global property to determine which encryption methods are available on your computer.

Code: Select all

answer the cipherNames
Then you use the 'encrypt' and 'decrypt' commands. Look at RevOnline > User spaces > By user > Vlahos for the stack 'Encryption Demo Stack' which you can take apart to learn how to use the encryption features.
Remember that encryption is an Enterprise feature, so if you're using Rev Media or Studio, you won't be able to use this.

Best regards,

Jan Schenkel.
Quartam Reports & PDF Library for LiveCode
www.quartam.com

Mark Smith
Posts: 179
Joined: Sat Apr 08, 2006 11:08 pm
Contact:

Post by Mark Smith » Mon Nov 24, 2008 12:10 pm

I f all you need is to be able to generate sha1 digests, I have a revolution implementation here: http://futsoft.futilism.com/revolutionstuff.html

It's slow on big inputs, but quite usable for smaller ones ie. smaller than a couple of kilobytes.

You also have the option of using openSSL as a shell command if you need to take digest from bigger imports, and you have openSSL installed (default on macs and linux).

Post Reply