Crates.io | dax |
lib.rs | dax |
version | 0.1.0 |
source | src |
created_at | 2024-06-04 22:49:05.839742 |
updated_at | 2024-06-04 22:49:05.839742 |
description | Decentralized online identity verification for Rust |
homepage | https://keyoxide.org |
repository | https://codeberg.org/keyoxide/dax-rs |
max_upload_size | |
id | 1262177 |
size | 18,857 |
Decentralized online identity verification for Rust
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);
}
This repo is compliant with version 3.0 of the REUSE Specification.