1 unstable release
0.1.0 | Jun 4, 2024 |
---|
#5 in #forgejo
Used in dax
20KB
323 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
~4.5–6.5MB
~149K SLoC