15 lines
414 B
Standard ML
15 lines
414 B
Standard ML
(** This modules handle zip archive format
|
|
|
|
ZIP file format is actually really easy to parse
|
|
the file is a list of files compressed
|
|
each entry is appended with a header
|
|
|
|
ZIP file supports multiple compression algorithm,
|
|
the most frequently used is LZMA
|
|
files can be encrypted using a weak algorithm
|
|
which has been deprecated or AES
|
|
*)
|
|
|
|
let signature = Bytes.of_string "PK\x00\x00"
|
|
|