xref: /freebsd/contrib/file/magic/Magdir/mcrypt (revision 1c05a6ea6b849ff95e539c31adea887c644a6a01)
1
2#------------------------------------------------------------------------------
3# $File: mcrypt,v 1.5 2009/09/19 16:28:10 christos Exp $
4# Mavroyanopoulos Nikos <nmav@hellug.gr>
5# mcrypt:   file(1) magic for mcrypt 2.2.x;
60	string		\0m\3		mcrypt 2.5 encrypted data,
7>4	string		>\0		algorithm: %s,
8>>&1	leshort		>0		keysize: %d bytes,
9>>>&0	string		>\0		mode: %s,
10
110	string		\0m\2		mcrypt 2.2 encrypted data,
12>3	byte		0		algorithm: blowfish-448,
13>3	byte		1		algorithm: DES,
14>3	byte		2		algorithm: 3DES,
15>3	byte		3		algorithm: 3-WAY,
16>3	byte		4		algorithm: GOST,
17>3	byte		6		algorithm: SAFER-SK64,
18>3	byte		7		algorithm: SAFER-SK128,
19>3	byte		8		algorithm: CAST-128,
20>3	byte		9		algorithm: xTEA,
21>3	byte		10		algorithm: TWOFISH-128,
22>3	byte		11		algorithm: RC2,
23>3	byte		12		algorithm: TWOFISH-192,
24>3	byte		13		algorithm: TWOFISH-256,
25>3	byte		14		algorithm: blowfish-128,
26>3	byte		15		algorithm: blowfish-192,
27>3	byte		16		algorithm: blowfish-256,
28>3	byte		100		algorithm: RC6,
29>3	byte		101		algorithm: IDEA,
30>4	byte		0		mode: CBC,
31>4	byte		1		mode: ECB,
32>4	byte		2		mode: CFB,
33>4	byte		3		mode: OFB,
34>4	byte		4		mode: nOFB,
35>5	byte		0		keymode: 8bit
36>5	byte		1		keymode: 4bit
37>5	byte		2		keymode: SHA-1 hash
38>5	byte		3		keymode: MD5 hash
39