estahr

Crates.ioestahr
lib.rsestahr
version0.1.0
sourcesrc
created_at2020-01-24 07:38:17.579854
updated_at2020-01-24 07:38:17.579854
descriptionA string distance and hashing library.
homepage
repositoryhttps://github.com/rapidclock/estahr
max_upload_size
id201468
size53,227
Rahul Thomas (rapidclock)

documentation

https://docs.rs/estahr

README

estahr

String comparison and hashing library

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:

  1. Hamming Distance Wiki
  2. Levenshtein Distance Wiki
  3. Jaro Winkler Distance Wiki

Hashing

This crate provides both string and file based hashing.

The hashing (file & string) provided include:

  1. MD5 (for compatibility, not recommended due to proven weaknesses).
  2. SHA2 - 256
  3. SHA2 - 512
  4. SHA3 - 256
  5. SHA3 - 512
  6. BLAKE 2s (256 bit)
  7. BLAKE 2b (512 bit)
  8. BLAKE 3 (256 bit)

For more info about these read the RustCrypto README.

Contribution

Any contribution, in any form, either intentionally or un-intentionally presented by you, whether finally being included or not as part of this work, will be licenced by the MIT Licence, without any additional terms or conditions.

Aditionally, the responsibility falls on you, in the course of participation, of any kind, in relation to this body of work, to clearly indicate that the origin or rights of the contribution are not yours; i.e: We assume you are the sole author of any form of contribution to this body of work.

Commit count: 24

cargo fmt