Sign in Join

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

Mailing lists / fpc-pascal / 2004-10

Encrypt routine

4 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

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

Luiz Américo
I'm looking for a simple file encryption routine (or an external library).
Something like:
   Procedure EncryptFile(FileName,Key:String);
   Procedure DecryptFile(FileName,Key:String);

I'd be glad with someone help

Luiz

Reply by email

Ron Weidner
to Luiz Américo

Well, How simple do you need? Will a simple XOR
routine do?

http://delphi.icm.edu.pl/ftp/d10free/clcrypt.zip

If you need better, here is a site with a bunch of routines.

http://delphi.icm.edu.pl/newl/d20/f039_001.htm

hth

Ron_W

--- Luiz Am�rico wrote 14 lines
I'm looking for a simple file encryption routine (or an external library). Something like: Procedure EncryptFile(FileName,Key:String); Procedure DecryptFile(FileName,Key:String); I'd be glad with someone help Luiz _______________________________________________ fpc-pascal maillist -

http://lists.freepascal.org/mailman/listinfo/fpc-pascal

__________________________________________________ Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

Reply by email

Alan Mead
to Luiz Américo: I'm looking for a simple file encryption routine (or an external library). Something like:

I believe that Free Pascal comes with a package, idea, that does encryption. If you just want to avoid casual viewing, you might try just compressing the data using TCompressedStream.

-Alan

--- Luiz Am�rico wrote 9 lines
I'm looking for a simple file encryption routine (or an external library). Something like: Procedure EncryptFile(FileName,Key:String); Procedure DecryptFile(FileName,Key:String); I'd be glad with someone help Luiz

Reply by email