[Gambas-user] Cypher algorithms

Leonardo Miliani leonardo at ...1237...
Mon Jul 10 11:07:40 CEST 2006


Leo Barnhoorn ha scritto:
> Hello Leo,
> 
> I have send more Gambas code to the gambas list but it is on hold because it
> is to big.
> This is Gambas code Blowfish and more.
> 
> I hoop they will (the list moderator) give his approval
> 
> Regards,
> Leo.
> 
> 
> -----Oorspronkelijk bericht-----
> Van: gambas-user-bounces at lists.sourceforge.net
> [mailto:gambas-user-bounces at lists.sourceforge.net]Namens Leonardo
> Miliani
> Verzonden: zondag 9 juli 2006 9:58
> Aan: mailing list for gambas users
> Onderwerp: Re: [Gambas-user] Cypher algorithms
> 
> 
> 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...
> 
> 
> -------------------------------------------------------------------------
> 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
> 
> 
> 
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.394 / Virus Database: 268.9.10/383 - Release Date: 7-7-2006
> 
> 
> 
> 
> -------------------------------------------------------------------------
> 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
> 
> 

Thanks Leo for your code.
Your Blowfish class will help me to finish translating the original C++ 
Blowfish algorithm...
If you need, I translated theRC4 algoirthm in a project that de/crypts 
files of any type.

-- 
Ciao.
Leo

Visita il mio sito personale: www.leonardomiliani.com
e-mail: leonardo at ...1237...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Cifra_RC4plus.tar.bz2
Type: application/x-bzip
Size: 12588 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20060710/99649fa4/attachment.bin>


More information about the User mailing list