gringotts 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. #------------------------------------------------------------------------------
  2. # $File: gringotts,v 1.5 2009/09/19 16:28:09 christos Exp $
  3. # gringotts: file(1) magic for Gringotts
  4. # http://devel.pluto.linux.it/projects/Gringotts/
  5. # author: Germano Rizzo <mano@pluto.linux.it>
  6. #GRG3????Y
  7. 0 string GRG Gringotts data file
  8. #file format 1
  9. >3 string 1 v.1, MCRYPT S2K, SERPENT crypt, SHA-256 hash, ZLib lvl.9
  10. #file format 2
  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
  28. #file format 3
  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
  46. #file format >3
  47. >3 string >3 v.%.1s (unknown details)