hex-string 0.1.0

a data structure for managing hex strings in both string and byte vector representation
Documentation
  • Coverage
  • 92.31%
    12 out of 13 items documented0 out of 9 items with examples
  • Size
  • Source code size: 86 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.68 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • Homepage
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • savannidgerinel

A utilty library for handling Hex strings

The digest operations in sha2 return the result as u8 vectors. But a lot of command line applicaions, like sha256sum, return byte strings. I was unable to find an obvious way to handle this in rust, so this module provides a clear well-defined HexString, loaders from a regular string of hex values and from a vector of bytes, and output representations in both forms.