Re: What do you use Euphoria for?
- Posted by wynco Nov 05, 2011
- 1629 views
Since I am a bit on the paronoid side I wanted to encrypt my CAD files before sending them to one of the online backup sites. The site's software encryptes them before being stored on their site, but as I said I'm paranoid.
I was going to write an encryption program in C as that was the language I was most familiar with. While searching online for an open source C language, I came across Euphoria. The Simplicity of it's data structures was intriguing, so I down loaded it along with w32lib and Judith's IDE. Within a couple of weeks I had a working encryption program, with a proprietary algorithm, and was encrypting my files.
That first program had about 12 objects and the EXW was just over 600 lines.
I have been expanding it ever since. It now has 144 windows object, 6 popup windows, and has grown to over 24000 lines. It is getting to the point where I'm considering releasing the program in two forms. A free fully functional version, and a full featured version for a nominal fee :).
The Algorithm uses a 256 bit password to generate 16, 4096 byte keys. The Keys along with bit shifting are used to encrypt my files. It allows the me to select the number of pass to make (1 to 16) with 1 being very fast but less secure to 16 being slower but very secure. There is also a secure delete (file wiping) feature and many file handling features.
I am currently adding a help file system, just in case.
It was actually the introduction of EU4 that got me to thinking that it might have commercial possibilities. EU4 has several file handling features EU3 did not, as well as handling files greater then 2GB. I also migrated away from IDE because I needed more flexabilty in handling objects than it allowed, although I still use a modified version of the IDE editor. My program now has a more professional look and feel.
I'm also considering writing my own CAD program, and a machine tool controller based on Euphoria.
Euphoria is a wonderfull language that lets me concentrate on me project instead of trying to understand a complex program language. If only windows was so simple :(
Long live Euphoria!