Page 1 of 1

Encryption of data over the internet

Posted: Thu Jul 31, 2008 10:50 pm
by skindoc4
Can anyone point me in the direction of a reasonably simple method of encryption of data in Revolution. I have searched the archives of the forums without success. I have also had a look at complex schemes such as Blowfish. There is a downloadable implementation of this for REALBasic so I wonder whether anyone has tackled this in Revolution.

Blowfish looks to be way more complex than I need, at least at this stage of my growing acquaintance with Revolution.

I want to be able to exchange moderately sensitive data between sockets, mostly small packets of data but occasionally larger packets such as images. I want this data to have some degree of protection. I would be grateful for any advice.

Alex

Encryption of data over the internet

Posted: Fri Aug 01, 2008 12:29 am
by skindoc4
More searching - this time found the commands in the dictionary.

Alex

Posted: Fri Aug 01, 2008 6:30 pm
by Bernard
I don't know why, it is not more heavily advertized on here (or on the rest of the runrev.com website) but the use-revolution mailing list is archived on Nabble, and there are maybe 7 years of informative discussions in those archives.

http://www.nabble.com/Revolution---User-f2297.html

There is SSL available with Rev, but only the Enterprise version has this.


Bernard

Encryption of data over the internet

Posted: Sat Aug 02, 2008 2:31 am
by skindoc4
Hi Bernard

Thanks. Yes I discovered that I do not have access to the Encryption Library. I have thus written a moderately simple encryption class which utilises random number sequences generated from changing randomseeds. The randomseeds are in turn generated using keys which change but which can be independently derived by both server and client. It probably wouldn't stop a knowledgable hacker but it is idiosyncratic and certainly strong enough to stop casual observers. The data I am intending to send across the net is moderately sensitive to me but of essentially no interest to anyone else so I think it will suffice. Unfortunately since my programming is not commercial, I cannot justify the expense of the Enterprise edition just for the encryption routines.

Now to get the socket side of it sorted......

Thanks for the link to the archives.

Alex

Re: Encryption of data over the internet

Posted: Sun Aug 03, 2008 3:43 am
by FourthWorld
skindoc4 wrote:It probably wouldn't stop a knowledgable hacker but it is idiosyncratic and certainly strong enough to stop casual observers. The data I am intending to send across the net is moderately sensitive to me but of essentially no interest to anyone else so I think it will suffice. Unfortunately since my programming is not commercial, I cannot justify the expense of the Enterprise edition just for the encryption routines.
If a very modest level of encryption is acceptable, you're welcome to use fwPack/fwUnpack:
http://www.revjournal.com/tutorials/han ... s-005.html

Encryption of data over the internet

Posted: Sun Aug 03, 2008 6:06 am
by skindoc4
Hi Richard

Thanks - I'll have a good look at it.

Regards

Alex

Posted: Mon Aug 04, 2008 9:17 am
by Mark Smith
You could also try my implementation of rc4:

http://futsoft.futilism.com/revolutionstuff.html

Best,

Mark

Encryption of data over the internet

Posted: Mon Aug 04, 2008 1:46 pm
by skindoc4
Hi again Mark,

Thanks - elegant.

Alex :wink: