2021-10-26 14:20:30 +00:00
|
|
|
# Lore
|
2021-10-26 14:10:29 +00:00
|
|
|
|
2021-10-26 14:20:30 +00:00
|
|
|
Hashing algorithms. Currently only implements md5.
|
|
|
|
|
|
|
|
Doesn't use any dependencies.
|
|
|
|
|
|
|
|
Performance/stability not guaranteed.
|
2021-10-26 14:22:45 +00:00
|
|
|
|
|
|
|
## Example
|
|
|
|
|
|
|
|
```rust
|
|
|
|
use lore::md5;
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
let input = "lol xd";
|
|
|
|
let digest = md5::hash(input);
|
|
|
|
assert_eq!(digest, "982d7f24f8985a6baa5cf129acc73561");
|
|
|
|
}
|
|
|
|
```
|