xref: /freebsd/contrib/file/magic/Magdir/gringotts (revision 2e3507c25e42292b45a5482e116d278f5515d04d)
1
2#------------------------------------------------------------------------------
3# $File: gringotts,v 1.6 2017/03/17 21:35:28 christos Exp $
4# gringotts:  file(1) magic for Gringotts
5# http://devel.pluto.linux.it/projects/Gringotts/
6# author: Germano Rizzo <mano@pluto.linux.it>
7#GRG3????Y
80	string	GRG		Gringotts data file
9#file format 1
10>3	string		1		v.1, MCRYPT S2K, SERPENT crypt, SHA-256 hash, ZLib lvl.9
11#file format 2
12>3	string		2		v.2, MCRYPT S2K,
13>>8	byte&0x70	0x00		RIJNDAEL-128 crypt,
14>>8	byte&0x70	0x10		SERPENT crypt,
15>>8	byte&0x70	0x20		TWOFISH crypt,
16>>8	byte&0x70	0x30		CAST-256 crypt,
17>>8	byte&0x70	0x40		SAFER+ crypt,
18>>8	byte&0x70	0x50		LOKI97 crypt,
19>>8	byte&0x70	0x60		3DES crypt,
20>>8	byte&0x70	0x70		RIJNDAEL-256 crypt,
21>>8	byte&0x08	0x00		SHA1 hash,
22>>8	byte&0x08	0x08		RIPEMD-160 hash,
23>>8	byte&0x04	0x00		ZLib
24>>8	byte&0x04	0x04		BZip2
25>>8	byte&0x03	0x00		lvl.0
26>>8	byte&0x03	0x01		lvl.3
27>>8	byte&0x03	0x02		lvl.6
28>>8	byte&0x03	0x03		lvl.9
29#file format 3
30>3	string		3		v.3, OpenPGP S2K,
31>>8	byte&0x70	0x00		RIJNDAEL-128 crypt,
32>>8	byte&0x70	0x10		SERPENT crypt,
33>>8	byte&0x70	0x20		TWOFISH crypt,
34>>8	byte&0x70	0x30		CAST-256 crypt,
35>>8	byte&0x70	0x40		SAFER+ crypt,
36>>8	byte&0x70	0x50		LOKI97 crypt,
37>>8	byte&0x70	0x60		3DES crypt,
38>>8	byte&0x70	0x70		RIJNDAEL-256 crypt,
39>>8	byte&0x08	0x00		SHA1 hash,
40>>8	byte&0x08	0x08		RIPEMD-160 hash,
41>>8	byte&0x04	0x00		ZLib
42>>8	byte&0x04	0x04		BZip2
43>>8	byte&0x03	0x00		lvl.0
44>>8	byte&0x03	0x01		lvl.3
45>>8	byte&0x03	0x02		lvl.6
46>>8	byte&0x03	0x03		lvl.9
47#file format >3
48>3	string		>3		v.%.1s (unknown details)
49