mcrypt 1.2 KB

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