Asymetrix keys

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
ale870
Posts: 250
Joined: Tue Apr 22, 2008 9:17 am
Contact:

Asymetrix keys

Post by ale870 » Tue Nov 24, 2009 2:12 pm

Hello,
I'm creating an application that requires an asymmetric algorithm (public-key and private-key concept). I have RunRev enterprise edition. Is there any built-in capability to implement it (cross-platform)?

I noticed that every encryption algorithm inside RunRev is a symmetric one.

Thank you for your help!
Runtime Revolution Widgets, tutorials, tips & tricks and more!
http://runrevwidgets.com/wiki

ukimiku
Posts: 101
Joined: Thu Oct 22, 2009 10:45 am

Re: Asymetrix keys

Post by ukimiku » Tue Nov 24, 2009 8:40 pm

Hi ale870,
have a look at
http://marksmith.on-rev.com/revstuff/index.html
there is a, asymmetric, Runtime Revolution sha-1 encryption routine for download. It was programmed by Mark Smith, the webpage says. I have not testet it yet, but the author says in another post (http://forums.runrev.com/phpBB2/viewtop ... a.1#p10430) that it might be a tad slow on big inputs but quite useable on smaller inputs (e.g. a few kilobytes).

Regards

ukimiku
Posts: 101
Joined: Thu Oct 22, 2009 10:45 am

Re: Asymetrix keys

Post by ukimiku » Tue Dec 01, 2009 7:41 pm

ale870,

did that work for you? Could you use the sha-1 routine in your code? What did you do with it? What are you trying to accomplish?
Just curious...

Regards

ale870
Posts: 250
Joined: Tue Apr 22, 2008 9:17 am
Contact:

Re: Asymetrix keys

Post by ale870 » Tue Dec 01, 2009 8:17 pm

Well,
I didn't use that link since it seems related only to Mac version (I work on Windows and Linux :-)

About usage: I'm creating a single sign-on environment for the company where I work. The user will authenticate himself, then he will be able to access to internal infrastructure, including web application, client/server programs, etc...
I need to use asymmetric keys to manage secure login. I need sha-1 to check digitally sign documents and programs, etc...

SInce I haven't those tools in runrev, I decided to use openssl executable program, that I will distribute with the program self (an auto-updating signed client program).

Are you only curious or are you planning to make something more with asymmetric keys?
Runtime Revolution Widgets, tutorials, tips & tricks and more!
http://runrevwidgets.com/wiki

ukimiku
Posts: 101
Joined: Thu Oct 22, 2009 10:45 am

Re: Asymetrix keys

Post by ukimiku » Tue Dec 01, 2009 10:04 pm

Only curious, but one of my major (hobbyist) interests lies in cryptography, so I am always curious as to what people encrypt, why and how :)

Good luck with your efforts!
Regards,

ale870
Posts: 250
Joined: Tue Apr 22, 2008 9:17 am
Contact:

Re: Asymetrix keys

Post by ale870 » Tue Dec 01, 2009 10:09 pm

Interesting! Have you ever tried to write something with runrev (sha-1, asymmetric keys, etc...)?
Runtime Revolution Widgets, tutorials, tips & tricks and more!
http://runrevwidgets.com/wiki

Post Reply