[][src]Crate subtle_encoding

Encoders and decoders for common data encodings (base64, hex) which avoid branching or performing table lookups based on their inputs (a.k.a. "constant time-ish").

Supported Encodings

Re-exports

pub use crate::base64::Base64;
pub use crate::encoding::Encoding;
pub use crate::hex::Hex;
pub use crate::identity::Identity;
pub use crate::identity::IDENTITY;

Modules

base64

Base64 encoding with (almost) data-independent constant time(-ish) operation.

bech32

Bech32 (BIP-173) checksummed Base32 data encoding (WARNING: preview!)

encoding

The Encoding trait: common operations across all encoders

hex

Hex encoding/decoding with data-independent constant time(-ish) operation.

identity

Identity Encoding: output is identical to input

Enums

Error

Error type