{"success":true,"data":{"ext":"hpapp","name":"HPAPP","description":"HPAPP is a file format used by HP for applications and program packages on the HP Prime graphing calculator platform. It is used to distribute calculator apps, educational tools, and custom programs for the device. The format is generally considered safe, though, as with any software package, files from untrusted sources should be reviewed before installation or execution.","mime":[],"risk_level":"Safe","signatures":[{"hex":"7C 61 8A B2","offset":0,"sources":[{"name":"Wikipedia","url":"https://en.wikipedia.org/wiki/List_of_file_signatures"}]}],"related":["hpprgm","hpsettings"],"usage":{"python":"def is_hpapp(file_path: str) -> bool:\n    \"\"\"Check if file is a valid HPAPP by magic bytes.\"\"\"\n    signature = bytes([0x7C, 0x61, 0x8A, 0xB2])\n    with open(file_path, \"rb\") as f:\n        return f.read(4) == signature","node":"function isHPAPP(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x7C, 0x61, 0x8A, 0xB2]);\n  return buffer.subarray(0, 4).equals(signature);\n}","go":"func IsHPAPP(data []byte) bool {\n    signature := []byte{0x7C, 0x61, 0x8A, 0xB2}\n    if len(data) < 4 {\n        return false\n    }\n    return bytes.Equal(data[:4], signature)\n}"}}}