[package]
edition = "2018"
name = "subtle-encoding"
version = "0.3.5"
authors = ["Tony Arcieri <tony@iqlusion.io>"]
description = " Encoders and decoders for common data encodings (base64, bech32, hex)\n which avoid data-dependent branching/table lookups and therefore\n provide \"best effort\" constant time. Useful for encoding/decoding\n secret values such as cryptographic keys.\n "
homepage = "https://github.com/iqlusioninc/crates/"
readme = "README.md"
keywords = ["base64", "bech32", "constant-time", "hex", "security"]
categories = ["cryptography", "encoding", "no-std"]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/iqlusioninc/crates/tree/develop/subtle-encoding"
[package.metadata.docs.rs]
features = ["bech32-preview"]
[dependencies.failure]
version = "0.1"
default-features = false
[dependencies.failure_derive]
version = "0.1"
[dependencies.zeroize]
version = "0.7"
optional = true
default-features = false
[features]
alloc = []
base64 = ["zeroize"]
bech32-preview = ["alloc", "zeroize"]
default = ["base64", "hex", "std"]
hex = []
std = ["alloc", "zeroize"]
[badges.maintenance]
status = "passively-maintained"
[badges.travis-ci]
branch = "develop"
repository = "iqlusioninc/crates"