| Crates.io | rust_jarm |
| lib.rs | rust_jarm |
| version | 0.3.7 |
| created_at | 2021-06-22 22:08:16.903702+00 |
| updated_at | 2025-01-31 19:01:24.356875+00 |
| description | JARM fingerprinting in native Rust |
| homepage | |
| repository | https://github.com/Hugo-C/rustJarm |
| max_upload_size | |
| id | 413666 |
| size | 101,556 |
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.
put in Cargo.toml:
[dependencies]
rust_jarm = "0.3.7"
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
All contributions and/or feedbacks are welcome to improve the code and the package