Sign in Join

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

Mailing lists / fpc-pascal / 2014-10

512bit (or higher) file encryption

5 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

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

Krzysztof

Hi,

Need to encrypt file with 512bit (or higher) key. Looking at DCPCrypt but seems that none of them can do that. Any advice?

Regards

Reply by email

Graeme Geldenhuys
to Krzysztof
Krzysztof wrote 5 lines
Need to encrypt file with 512bit (or higher) key. Looking at DCPCrypt but seems that none of them can do that. Any advice? From the DCPCrypt documentation:

=================================
DCPcrypt v2 contains the following ciphers and hash algorithms:

Ciphers
Name Patents Block Size Max Key Size*
-------------------------------------------------
Blowfish None 64 bits 448 bits
Cast-128 None 64 bits 128 bits
Cast-256 Patented? 128 bits 256 bits
DES None 64 bits** 64 bits
3DES None 64 bits 192 bits
Ice None? 64 bits 64 bits
Thin Ice None? 64 bits 64 bits
Ice 2 None? 64 bits 128 bits
IDEA Free for
non-commercial
use 64 bits 128 bits
MARS Patented? 128 bits 1248 bits
Misty1 Free for
non-commercial
use 64 bits 128 bits
RC2 None 64 bits 1024 bits
RC4 None N/A 2048 bits
RC5 Patented 64 bits 2048 bits
RC6 Patented 128 bits 2048 bits
Rijndael (AES) None 128 bits 256 bits
Serpent None 128 bits 256 bits
TEA None 64 bits 128 bits
Twofish None 128 bits 256 bits
=================================

Is there nothing that suits your needs? If not, patch are always welcome ;-)

Regards,
- Graeme -

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

Reply by email

Krzysztof
to Graeme Geldenhuys

Thanks Graeme! My fault that I didn't read documentation. I checked ciphers source looking for comments at top of the unit. BTW: What does it mean "non-commecial"? Algorithms are licensed or FPC implementations? My tool will be free and open source with donate option

Reply by email

Graeme Geldenhuys
to Krzysztof: Thanks Graeme! My fault that I didn't read documentation. I checked ciphers source…
Krzysztof wrote
BTW: What does it mean "non-commecial"? Algorithms are licensed or FPC implementations? My tool will be free and open source with donate option

I guess you should be fine then, but I'm no lawyer. If in double ask advice from a software lawyer to be sure.

Regards,
- Graeme -

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

Reply by email