Drumlin Fully Secure PDF file
application/octet-stream
Magic Bytes
Offset: 0
7B 5C 70 77 69
The Drumlin Fully Secure PDF file (DRMZ) is a proprietary encrypted document format developed and maintained by Drumlin Security. It is primarily utilized for the distribution of protected intellectual property, such as commercial publications and sensitive corporate documents, where strict digital rights management is required. These files require specialized software, like the Javelin PDF Reader, to enforce restrictions on printing, copying, and offline access through the use of digital license keys.
Validation Code
How to validate .drmz files in Python
Python
def is_drmz(file_path: str) -> bool:
"""Check if file is a valid DRMZ by magic bytes."""
signature = bytes([0x7B, 0x5C, 0x70, 0x77, 0x69])
with open(file_path, "rb") as f:
return f.read(5) == signature
How to validate .drmz files in Node.js
Node.js
function isDRMZ(buffer: Buffer): boolean {
const signature = Buffer.from([0x7B, 0x5C, 0x70, 0x77, 0x69]);
return buffer.subarray(0, 5).equals(signature);
}
Go
func IsDRMZ(data []byte) bool {
signature := []byte{0x7B, 0x5C, 0x70, 0x77, 0x69}
if len(data) < 5 {
return false
}
return bytes.Equal(data[:5], signature)
}
API Endpoint
GET
/api/v1/drmz
curl https://filesignature.org/api/v1/drmz