12 unstable releases (3 breaking)
✓ Uses Rust 2018 edition
|0.3.3||Mar 12, 2019|
|0.3.2||Dec 25, 2018|
|0.3.0||Nov 25, 2018|
#168 in Encoding
220 downloads per month
Used in 6 crates (5 directly)
Rust crate for encoding/decoding binary data to/from base64 and hex encodings while avoiding data-dependent branching/table lookups, and therefore providing "best effort" constant-time operation.
Useful for encoding/decoding secret values such as cryptographic keys.
While this crate takes care to avoid data-dependent branching, that does not actually make it "constant time", which is an architecture-dependent property.
This crate is a "best effort" attempt at providing a constant time encoding library, however it presently provides no guarantees, nor has it been independently audited for security vulnerabilities.
Use at your own risk.
subtle-encoding is distributed under the terms of either the MIT license or the Apache License (Version 2.0), at your option.