Crates.io | kvac |
lib.rs | kvac |
version | 0.5.0 |
source | src |
created_at | 2023-10-13 12:31:32.748476 |
updated_at | 2024-07-18 17:03:04.48027 |
description | Keyed-Verification Anonymous Credentials (KVAC) and Algebraic MACs |
homepage | |
repository | https://github.com/docknetwork/crypto |
max_upload_size | |
id | 1002267 |
size | 139,101 |
Implements Keyed-Verification Anonymous Credentials (KVAC) schemes from the following papers. KVACs are supposed to be verified by the issuer only (or anyone who shares the issuer's key)
Both implementations support additional verification methods that allow joint verification of proof of possession of credentials where one of the verifier is the issuer who knows the secret key and another verifier does not know secret key but learns the revealed attributes which are not shared with the issuer. This lets us build for a use-case where issuer wants to allow anytime its issued credential is used (eg. to get paid by the verifier) while still not harming the user's privacy as it doesn't learn any revealed attributes. The first verifier, i.e. the issuer can also provide a proof of validity or invalidity to the second verifier.