[−][src]Crate estahr
estahr
This crate contains some string based utilities.
The word estahr
is the phonetic version of str (ess-tee-ahr). :)
For the 0.1.x version, we include string distance and hashing functions. The hashing is provided by the RustCrypto series of crates.
The blake3 hashing is provided by the blake3 crate, straight from the Blake-3 Team.
String Distances
The string distances currently provided are:
Hashing
This crate provides both string and file based hashing.
The hashing (file & string) provided include:
- MD5 (for compatibility, not recommended due to proven weaknesses).
- SHA2 - 256
- SHA2 - 512
- SHA3 - 256
- SHA3 - 512
- BLAKE 2s (256 bit)
- BLAKE 2b (512 bit)
- BLAKE 3 (256 bit)
Modules
hash | This module provides functions to calculate the hash of strings and files. The hashes can be in absolute value or in hex. (hex is usually preferred) |
strings | This module has utility functions for strings. |