Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2005-11

Cryptography class nedded ?

13 messages · 9 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

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.

TIA.

Reply by email

Daniël Mantione
to Alexander Todorov

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

Reply by email

Christian Iversen
to Alexander Todorov: can you tell if there is a good crypto class for FPC / Lazarus ? What do you use for…
Alexander Todorov wrote
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.

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_.

Regards, Christian Iversen

Reply by email

Paul Davidson
to Christian Iversen

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

Christian Iversen wrote 21 lines
On Thursday 17 November 2005 13:18, Alexander Todorov wrote: > 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. 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_. -- Regards, Christian Iversen _______________________________________________ fpc-devel maillist - http://lists.freepascal.org/mailman/listinfo/fpc-devel

P Davidson
Corax Networks Inc.
http://CoraxNetworks.com

Reply by email

Marco van de Voort
to Christian Iversen: I'd go for openssl. I know we have to implement crypto support at some point in…
Show quoted text 8 lines
> 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. 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.

Note that Indy contains headers for it. Older version though with mods. But maybe easier to check than start over.

Reply by email

Florian Klaempfl
to Paul Davidson: Did some work getting SSL working for FPC. Attached is unit that exposes most of the…
Paul Davidson wrote
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.

Show quoted text 41 lines
Hope this helps On Nov 17, 2005, at 7:57, Christian Iversen wrote: > On Thursday 17 November 2005 13:18, Alexander Todorov wrote: > >> 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. > > > 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_. > > -- > Regards, > Christian Iversen > _______________________________________________ > fpc-devel maillist - > http://lists.freepascal.org/mailman/listinfo/fpc-devel > > P Davidson Corax Networks Inc. http://CoraxNetworks.com ------------------------------------------------------------------------ _______________________________________________ fpc-devel maillist - http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply by email

Paul Davidson
to Florian Klaempfl

Will alter the unit, and submit it tomorrow :)
Thanks

Florian Klaempfl wrote 56 lines
Paul Davidson wrote: > 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. > > > > > Hope this helps > > On Nov 17, 2005, at 7:57, Christian Iversen wrote: > >> On Thursday 17 November 2005 13:18, Alexander Todorov wrote: >> >>> 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. >> >> >> 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_. >> >> -- >> Regards, >> Christian Iversen >> _______________________________________________ >> fpc-devel maillist - >> http://lists.freepascal.org/mailman/listinfo/fpc-devel >> >> > P Davidson > Corax Networks Inc. > http://CoraxNetworks.com > > > ---------------------------------------------------------------------- > -- > > _______________________________________________ > fpc-devel maillist - > http://lists.freepascal.org/mailman/listinfo/fpc-devel _______________________________________________ fpc-devel maillist - http://lists.freepascal.org/mailman/listinfo/fpc-devel

P Davidson

Reply by email

Jeff Pohlmeyer
> 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

Reply by email

Paul Davidson
to Jeff Pohlmeyer

Thanks :)

Jeff Pohlmeyer wrote 34 lines
>> 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 _______________________________________________ fpc-devel maillist - http://lists.freepascal.org/mailman/listinfo/fpc-devel

P Davidson

Reply by email