updated README

This commit is contained in:
Frederik Palmø 2022-09-16 14:10:44 +02:00
parent 167a6cb25a
commit c5ca4a85df

View file

@ -1,19 +1,17 @@
# Lore # Lore
Hashing algorithms. Currently only implements md5. Hashing algorithms with a straight-forward API and no dependencies.
Doesn't use any dependencies. Currently implements:
Performance/stability not guaranteed. - MD2, MD4, and MD5
## Example ## Example
```rust ```rust
use lore::md5;
fn main() { fn main() {
let input = "lol xd"; let input = "lol xd";
let digest = md5::hash(input); let digest = lore::md5(input);
assert_eq!(digest, "982d7f24f8985a6baa5cf129acc73561"); assert_eq!(digest, "982d7f24f8985a6baa5cf129acc73561");
} }
``` ```