[Gambas-user] Cypher algorithms

Leonardo Miliani leonardo at ...1237...
Sun Jul 9 09:58:24 CEST 2006


Rob Kudla ha scritto:
> On Sat July 8 2006 18:47, Fabien Bodard wrote:
>>> Blowfish is implemented in openssl/blowfish.h in libopenssl,
>>> and blowfish and rijndael are both implemented in libmcrypt
>> if they are gnu... Maby you need to make you own lib by
>> concatain each needed algorithm in it. Like benoit have done
>> with gb.image (witch contain some of kdegraphics part of
>> code).
> 
> Well, I don't think it'd be a big problem to have a Gambas 
> encryption component that required openssl to be installed, 
> since most people have it installed anyway.  That libmcrypt 
> thing seems to be a little more obscure, but I've never used 
> rijndael encryption myself anyway.
> 
> Rob
> 
> 
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
> 
> 

THe main problem is that I know just the basics of C/C+ languages so I'm 
a little bit afraid when I look at the cipher algorithms in C/C++...
The minor problem is that I would like to write my own programs in 
Gambas, translating several cyphers from C or other languages (i.e. 
VBasic). I've tried and implemented RC4 and now I'm trying with Twofish 
and Blowfish but C algorithms are too complex for me and some VBasic 
implementations that I've found are too radicated in that language to 
have a clear translation in Gambas (they use DLLs for Windows, 
particular constants declarations, ecc...)

Fabien said that I could create a C component. How could I do?

-- 
Ciao.
Leo

Visita il mio sito personale: www.leonardomiliani.com
e-mail: leonardo at ...1237...




More information about the User mailing list