1 unstable release
0.1.0 | Jun 4, 2024 |
---|
Used in 4 crates
8KB
138 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
~0.7–1.6MB
~34K SLoC