{"success":true,"data":{"ext":"cin","name":"Calculux Indoor lighting design software project file","description":"Calculux Indoor project files are data files used by the Calculux Indoor lighting design application, originally developed by Philips Lighting and now associated with Signify. They store room layouts, luminaires, calculation settings, and simulation results for indoor lighting analysis, planning, and documentation. The format is generally considered safe, but as with any legacy project file, files from untrusted sources should be opened with current software to avoid compatibility issues.","mime":[],"risk_level":"Safe","signatures":[{"hex":"80 2A 5F D7","offset":0,"sources":[{"name":"Wikipedia","url":"https://en.wikipedia.org/wiki/List_of_file_signatures"},{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]},{"hex":"43 61 6C 63 75 6C 75 78 20 49 6E 64 6F 6F 72 20","offset":0,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]}],"related":[],"usage":{"python":"def is_cin(file_path: str) -> bool:\n    \"\"\"Check if file is a valid CIN by magic bytes.\"\"\"\n    signature = bytes([0x80, 0x2A, 0x5F, 0xD7])\n    with open(file_path, \"rb\") as f:\n        return f.read(4) == signature","node":"function isCIN(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x80, 0x2A, 0x5F, 0xD7]);\n  return buffer.subarray(0, 4).equals(signature);\n}","go":"func IsCIN(data []byte) bool {\n    signature := []byte{0x80, 0x2A, 0x5F, 0xD7}\n    if len(data) < 4 {\n        return false\n    }\n    return bytes.Equal(data[:4], signature)\n}"}}}