Registry / crypto / base16ct

base16ct

JSON →
library1.0.0rscratesunverified

A pure Rust implementation of Base16 (hexadecimal) encoding and decoding with constant-time operation and no_std support.

# Cargo.toml [dependencies] base16ct = "1.0.0"
INSTALL
IMPORT
SIG · BASE16CT
B
base16ct
cryptorustv1.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

HexDisplay
use base16ct::HexDisplay;

Encodes a byte slice as a hexadecimal string.

use base16ct::HexDisplay; fn main() { let data = b"hello"; let hex = HexDisplay(&data); println!("Hex: {}", hex); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
23 hits · last 30 days
node
20
OpenAI (training)
1
Resources
base16ct — cargo add base16ct · libregistry