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