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