updated README
This commit is contained in:
parent
167a6cb25a
commit
c5ca4a85df
1 changed files with 4 additions and 6 deletions
10
README.md
10
README.md
|
@ -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");
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue