{"success":true,"data":{"ext":"hiv","name":"HIV","description":"The HIV file format is a Windows Registry hive file used and maintained by Microsoft Windows to store portions of the system registry. It is used to preserve configuration data for the operating system, installed software, user profiles, and device settings. Registry hives are generally safe to store and read, but incorrect modification can affect system stability; they are not a legacy format, though they are typically managed by administrative tools.","mime":[],"risk_level":"Safe","signatures":[{"hex":"72 65 67 66","offset":0,"sources":[{"name":"Wikipedia","url":"https://en.wikipedia.org/wiki/List_of_file_signatures"}]}],"related":[],"usage":{"python":"def is_hiv(file_path: str) -> bool:\n    \"\"\"Check if file is a valid HIV by magic bytes.\"\"\"\n    signature = bytes([0x72, 0x65, 0x67, 0x66])\n    with open(file_path, \"rb\") as f:\n        return f.read(4) == signature","node":"function isHIV(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x72, 0x65, 0x67, 0x66]);\n  return buffer.subarray(0, 4).equals(signature);\n}","go":"func IsHIV(data []byte) bool {\n    signature := []byte{0x72, 0x65, 0x67, 0x66}\n    if len(data) < 4 {\n        return false\n    }\n    return bytes.Equal(data[:4], signature)\n}"}}}