#ed25519 #lzma #json #network #edcert


A crate to compress/decompress Edcert certificates

9 stable releases

Uses old Rust 2015

1.1.6 Oct 22, 2016
1.1.5 Apr 5, 2016
1.0.0 Mar 28, 2016
0.1.1 Mar 21, 2016

#9 in #lzma

33 downloads per month

MIT license

261 lines

Build Status

This is the compressor module for my crate "Edcert". Edcert is a digital signature crate for signing/verifying content based on cryptography.

This crate uses JSON and LZMA to compress the Edcert certificates so they can be saved and/or sent over the network.


This crate defines two structs: A CertificateCompressor which JSON-encodes a given certificate and then uses LZMA to compress it. It should have similar size to a custom binary encoder. The other defined struct is a CertificateLoader, which does the exact opposite.


~183K SLoC