The Custom Media Type allows you to define a hexadecimal signature that can be identified at the start or end of a media type file and the offset, in bytes, from the start or end of the file.
When adding a new signature:
A Hex Editor can be used to identify a particular signature in a file. For further information, see knowledge base article #1161 "Custom Media Types using Fingerprint Utilities" on the Clearswift Support Portal.
These examples are based on the following hexadecimal strings at the start and end of a file:
84 2A 4B 3D 22............20 56 68 00 00 2A 17 4A 65
To identify the value 4A one byte from the end of a file:
To identify the value 20 56 68 00 00 2A 17 4A 65 nine bytes from the end of a file:
To identify the value 84 2A 4B 3D 22 at the start of a file:
To identify the value 4B 3D 22 two bytes from the start of a file:
|
We recommend that defined signatures should be as long as possible. Single byte sequences are not recommended. |
© 1995–2019 Clearswift Ltd.