Module extensions

Module extensions 

Source
Expand description

Additional functionality and convenience methods for encoding types.

This module provides extension traits and methods that enhance the core encoding functionality with features like:

  • Secure Encoding Extensions: Traits for encoding byte arrays to various formats
  • View Types: Safe access to encoded strings with decoding capabilities
  • RNG Integration: Direct encoding of random bytes to validated strings
  • Consuming Methods: Methods that consume wrappers and return decoded bytes

The extensions are designed to work seamlessly with the main encoding types while maintaining security guarantees.

Re-exports§

pub use base64::Base64StringView;
pub use bech32::Bech32StringView;
pub use core::SecureEncodingExt;
pub use hex::HexStringView;

Modules§

base64
bech32
core
hex