[fpc-pascal] 512bit (or higher) file encryption

Graeme Geldenhuys mailinglists at geldenhuys.co.uk
Sat Oct 11 20:48:36 CEST 2014


On 2014-10-11 16:20, Krzysztof wrote:
> 
> 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/



More information about the fpc-pascal mailing list