Hawkynt

LZO

Lempel-Ziv-Oberhumer compression algorithm. A fast compression library emphasizing decompression speed over compression ratio.

Properties

Property Value
Category Compression Algorithms
Sub-category Dictionary-based
Security status Not classified
Complexity Intermediate
Inventor Markus F.X.J. Oberhumer
Year 1996
Origin Not specified
Source algorithms/compression/lzo.js

Security

Status: not classified — treat as unverified.

No vulnerabilities are recorded for this implementation.

Documentation

References

Test vectors

4 vectors ship with this algorithm and run in the test suite. Byte values are hexadecimal.

Vector 1 — Empty input

Field Value
input (empty)
expected 00000000

Vector 2 — Single character literal

Field Value
input 41
expected 010000001041

Vector 3 — Hello World string (no match, too short)

Field Value
input 48656c6c6f20576f726c64
expected 0b000000b048656c6c6f20576f726c64

Vector 4 — ABCDEFGH sequence (no match, too short)

Field Value
input 4142434445464748
expected 08000000804142434445464748

← All algorithms