lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Sun, 14 Feb 2010 12:16:37 +0200
From:	Lasse Collin <lasse.collin@...aani.org>
To:	Phillip Lougher <phillip@...gher.demon.co.uk>
Cc:	Jean Delvare <khali@...ux-fr.org>, Pavel Machek <pavel@....cz>,
	mirrors@...nel.org, "linux-kernel" <linux-kernel@...r.kernel.org>,
	"FTPAdmin Kernel.org" <ftpadmin@...nel.org>, users@...nel.org
Subject: Re: [kernel.org users] XZ Migration discussion

On 2010-02-14 Phillip Lougher wrote:
> With xz you have just one C/C++ implementation with a single library
> with an undocumented API for C/C++ programmers.

I completely agree that language support is bad compared to the .gz 
format, but I think the above sentence makes it sound a bit too bad.

There are three C (no C++ needed) libraries that support the .xz format:
  - LZMA SDK (7-zip.org)
  - XZ Utils has liblzma (tukaani.org)
  - XZ Embedded (tukaani.org, limited support only)

The latter two are more or less based on LZMA SDK, although the code 
looks very different (different coding style, different APIs etc.).

The liblzma API has reference documentation as Doxygen tags in the API 
headers. They aren't the best docs and there's no tutorial or example 
programs yet, but the API certainly isn't undocumented. It has 
similarities to the zlib API, so those used to zlib shouldn't have 
trouble learning the basic features of liblzma, which are enough for 
most people.

There are liblzma bindings for Perl and Python, but I don't know how 
good they are.

-- 
Lasse Collin  |  IRC: Larhzu @ IRCnet & Freenode
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ