[fpc-pascal] encryption

"Fabrício F. Kammer" ffkammer at conchalnet.com.br
Fri Aug 25 21:56:53 CEST 2006


Thanks Alexandre and Vincent but I need of a bit more help with this.

I'm working in a software to protect my main software. Look how I want 
to make:

- This software will be a TCP Server (I'm calling it of Authentication 
software).
- This software must run in the console, then I can't have graphical 
application for it. I want to make this software runs az daemon on the 
future.
- I'll have some informations of the server (hardware information that I 
get on /proc) and the number of stations that can use my main software 
together storaged in a crypted file.
- I need to read this crypted file, decrypt it and compare with the 
informations of /proc again. Then I need of a form to encrypt/decrypt 
the file to compare with the actual information.

If I use md5 I can't decrypt the text. In yours opnion what's the 
indicate algorithm do make this?

Thanks again

Fabrício F. Kammer
Conchal/SP/Brazil

Vincent Snijders escreveu:
> Alexandre Leclerc wrote:
>> There are two hash in: fpcsrc/packages/base/hash
>>
>> There is, for example, Blowfish (a ciphers for actual
>> encryption/decryption) in: fpcsrc/fcl/incblowfish.pp
>>
>> Blowfish is very good by the way (as is fast). There are many others;
>> I also saw a a kit of many ciphers in Delphi which could certainly
>> work on FPC. See
>> http://www.efg2.com/Lab/Library/Delphi/MathFunctions/Cryptography.htm
>> for many of them.
>>
>> I used that one http://www.cityinthesky.co.uk/cryptography.html in a
>> project once, but it was under Delphi. It should work under FPC I
>> think... It's up to you to try.
>>
> 
> It has been ported to fpc/lazarus: 
> http://wiki.lazarus.freepascal.org/index.php/DCPcrypt
> 
> Vincent
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal



More information about the fpc-pascal mailing list