Hi folks,
can you tell if there is a good crypto class for FPC / Lazarus ? What do you use for crypting your stuff ?
Any opinions are welcome.
TIA.

Mailing lists / fpc-devel / 2005-11
13 messages · 9 people · –
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
Hi folks,
can you tell if there is a good crypto class for FPC / Lazarus ? What do you use for crypting your stuff ?
Any opinions are welcome.
TIA.
Op Thu, 17 Nov 2005, schreef Alexander Todorov:
Hi folks, can you tell if there is a good crypto class for FPC / Lazarus ? What do you use for crypting your stuff ? Any opinions are welcome.
There exist many Pascal implementations of cryptographic algorithms, but I am not aware of a library that provides a bundle of them.
Daniël
can you tell if there is a good crypto class for FPC / Lazarus ? What do you use for…
Alexander Todorov wroteHi folks, can you tell if there is a good crypto class for FPC / Lazarus ? What do you use for crypting your stuff ? Any opinions are welcome.
I'd go for openssl. I know we have to implement crypto support at some point in Technetium, and I'd really look into that library. It seems well-developed.
Writing a new, safe, crypto lib is _hard_.
Did some work getting SSL working for FPC. Attached is unit that exposes most of the functions required. Tested with Darwin and Linux.
Hope this helps
P Davidson
Corax Networks Inc.
http://CoraxNetworks.com
I'd go for openssl. I know we have to implement crypto support at some point in…
Note that Indy contains headers for it. Older version though with mods. But maybe easier to check than start over.
Did some work getting SSL working for FPC. Attached is unit that exposes most of the…
Paul Davidson wroteDid some work getting SSL working for FPC. Attached is unit that exposes most of the functions required. Tested with Darwin and Linux.
Thank you! That's a great starting point. I'll look at it when we are implementing crypto :)
can you tell if there is a good crypto class for FPC / Lazarus ? What do you use for…
Alexander Todorov wroteHi folks, can you tell if there is a good crypto class for FPC / Lazarus ? What do you use for crypting your stuff ? Any opinions are welcome.
Take a look at http://sourceforge.net/projects/tplockbox
Luiz
Did some work getting SSL working for FPC. Attached is unit that exposes most of the…
Paul Davidson wroteDid some work getting SSL working for FPC. Attached is unit that exposes most of the functions required. Tested with Darwin and Linux.
What about putting it in packages/extra? OpenSSL is quite common.
Will alter the unit, and submit it tomorrow :)
Thanks
P Davidson
What about putting it in packages/extra? OpenSSL is quite common.
Ok, I lied. It is ready today. Here is modified version OpenSSL unit. Please include in packages.
P Davidson
Corax Networks Inc.
http://CoraxNetworks.com
What about putting it in packages/extra? OpenSSL is quite common.
I was thinking the same thing.
Michael.
> Did some work getting SSL working for FPC. Attached is unit that > exposes most of the functions required. Tested with Darwin and Linux. What about putting it in packages/extra? OpenSSL is quite common.
Just for kicks, I tried linking on windows with ssleay32.dll, but apparently the crypto* functions don't show up in my DLL.
However, I did find a typo on line 142 of cSSL.pas:
procedure CryptoCleanupAllExData; cdecl; external'crypto' name 'CRYPTO_cleanup_all_ex_data';Should be:
procedure CryptoCleanupAllExData; cdecl; external Crypto name 'CRYPTO_cleanup_all_ex_data';( Use the const name instead of the literal )
- Jeff
Thanks :)
P Davidson