Sign in Join

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

Mailing lists / lazarus / 2010-02

How to encrypt/decrypt with OpenSSL unit

6 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

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

dayat
to Hans-Peter Diettrich

Thanks Sir, did you know how to encrypt/decrypt string with base64 encode using openssl unit in freepascal. Have you an example to do this.

Thanks
Hidayat

Hans-Peter Diettrich wrote 11 lines
dayat schrieb: Anyone know how to encrypt/decrypt PWideChar or String with OpenSSL unit > in freepascal. > Convert WideString to UTF8String, then use the Ansi procedures. DoDi

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20100202/3b171f26/attachment.html>

Reply by email

Hans-Peter Diettrich
to dayat
Thanks Sir, did you know how to encrypt/decrypt string with base64 encode using openssl unit in freepascal. Have you an example to do this.

For base64 use base64 unit in the FCL. I have no idea about openssl or examples.

DoDi

Reply by email

Graeme Geldenhuys
to dayat: Thanks Sir, did you know how to encrypt/decrypt string with base64 encode using openssl…
dayat wrote
Thanks Sir, did you know how to encrypt/decrypt string with base64 encode using openssl unit in freepascal. Have you an example to do this.

I don't, but FPC includes a base64 unit that can encode/decode without the need of OpenSSL.

Here is examples of each...

http://opensoft.homeip.net/wiki/wiki.cgi?p=webnews-and-attachments

Regards,
- Graeme -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net/fpgui/

Reply by email

dayat
to Hans-Peter Diettrich: For base64 use base64 unit in the FCL. I have no idea about openssl or examples. DoDi

Yes, with base64 unit. Graeme and DoDi thanks for the advices.

Regards
Hidayat

Hans-Peter Diettrich wrote 13 lines
dayat schrieb: Thanks Sir, did you know how to encrypt/decrypt string with base64 encode > using openssl unit in freepascal. Have you an example to do this. > For base64 use base64 unit in the FCL. I have no idea about openssl or examples. DoDi

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20100202/48178d50/attachment.html>

Reply by email