10 releases

0.3.6 Aug 8, 2024
0.3.5 Jun 10, 2024
0.3.4 Dec 1, 2023
0.3.3 Aug 12, 2023
0.2.0 Jul 3, 2021

#6 in #fingerprint

Download history 48/week @ 2024-07-29 112/week @ 2024-08-05 16/week @ 2024-08-12 16/week @ 2024-09-16 13/week @ 2024-09-23 13/week @ 2024-09-30 9/week @ 2024-10-07

601 downloads per month

MIT license

34KB
713 lines

rust_jarm

Rust dependency status Codecov Crates.io Crates.io
rust_jarm is a library to compute JARM fingerprint. It is more or less a direct translation of the original jarm implementation from Python to Rust.

Installation

put in Cargo.toml:

[dependencies]
rust_jarm = "0.3.6"

Usage

    let host = "some.website.com".to_string();
    let port = "443".to_string();
    let jarm_hash = Jarm::new(host, port).hash().expect("failed to connect");
    println!("JARM hash: {}", jarm_hash);

check jarm.rs for the full example, run it with cargo run --example jarm

Contribute

All contributions and/or feedbacks are welcome to improve the code and the package

Dependencies

~3.5–5MB
~94K SLoC