1 unstable release
0.1.0 | Jun 4, 2024 |
---|
#5 in #fetcher
Used in 2 crates
(via dax_service_forgejo)
12KB
177 lines
dax-rs
Decentralized online identity verification for Rust
Example
To verify an online identity:
use dax::{
claim::Claim, proof::Proof, verify_claim
};
fn main() {
// Prepare
let claim = Claim::new("http://localhost/user/repo");
let proofs = vec![Proof::new(
"openpgp4fpr:1234567890123456789012345678901234567890",
)];
// Verify the claim
let result = verify_claim(&claim, &proofs);
}
About
This repo is compliant with version 3.0 of the REUSE Specification.
Dependencies
~2.3–3.5MB
~84K SLoC