{"success":true,"data":{"ext":"wk5","name":"Lotus 1-2-3 spreadsheet","description":"Lotus 1-2-3 WK5 is a spreadsheet file format created by Lotus Development Corporation for the Lotus 1-2-3 application, later associated with IBM. It was used to store worksheets, formulas, charts, and business data in desktop spreadsheet workflows, especially during the 1990s. The format is now legacy and largely obsolete; files are generally safe to open, but support in modern spreadsheet software may be limited.","mime":[],"risk_level":"Safe","signatures":[{"hex":"00 00 1A 00 02 10 04 00 00 00 00 00","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"}]}],"related":["wk3","wk4","123"],"usage":{"python":"def is_wk5(file_path: str) -> bool:\n    \"\"\"Check if file is a valid WK5 by magic bytes.\"\"\"\n    signature = bytes([0x00, 0x00, 0x1A, 0x00, 0x02, 0x10, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00])\n    with open(file_path, \"rb\") as f:\n        return f.read(12) == signature","node":"function isWK5(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x00, 0x00, 0x1A, 0x00, 0x02, 0x10, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00]);\n  return buffer.subarray(0, 12).equals(signature);\n}","go":"func IsWK5(data []byte) bool {\n    signature := []byte{0x00, 0x00, 0x1A, 0x00, 0x02, 0x10, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00}\n    if len(data) < 12 {\n        return false\n    }\n    return bytes.Equal(data[:12], signature)\n}"},"category":"Office"}}