No description
Find a file
2021-11-07 19:43:39 +01:00
benches changed api somewhat, and added Hash return type 2021-11-07 19:43:39 +01:00
src changed api somewhat, and added Hash return type 2021-11-07 19:43:39 +01:00
.gitignore Init commit 2021-10-26 16:20:30 +02:00
Cargo.lock changed api somewhat, and added Hash return type 2021-11-07 19:43:39 +01:00
Cargo.toml changed api somewhat, and added Hash return type 2021-11-07 19:43:39 +01:00
LICENSE Init commit 2021-10-26 16:20:30 +02:00
README.md Added example to readme 2021-10-26 16:22:45 +02:00

Lore

Hashing algorithms. Currently only implements md5.

Doesn't use any dependencies.

Performance/stability not guaranteed.

Example

use lore::md5;

fn main() {
    let input = "lol xd";
    let digest = md5::hash(input);
    assert_eq!(digest, "982d7f24f8985a6baa5cf129acc73561");
}