mdoc Outperforms SD-JWT VC and W3C VCDM in Verifiable Credential Performance
Original title: An Empirical Evaluation of Signing and Verification Performance of Verifiable Credential Formats: A Cross-Language Benchmark of SD-JWT VC, W3C VCDM, and mdoc
mdoc completes end-to-end exchanges disclosing 5 of 20 attributes in 0.265 ms on Node.js versus 0.534 ms for W3C VCDM.
Signing and verification performance of SD-JWT VC, W3C VCDM 2.0 and mdoc formats is benchmarked across Node.js, Go and Python in four environments. mdoc is fastest at 0.265 ms total for an end-to-end exchange while W3C VCDM is 1.73-2.04x slower due to RDFC-1.0 canonicalization. Performance gap narrows when using JCS instead of RDFC-1.0.
- mdoc total 0.265 ms, SD-JWT VC 0.298 ms, W3C VCDM 0.534 ms on Node.js cloud VM
- W3C VCDM takes 1.57-2.04x mdoc across environments
- Canonicalization cost 31-49x for production education schemas
- Three implementations in three languages agree on ordering
- Verification performance measured to issuer signature check
From the original article
1 min read at arxiv.orgWe compare the signing and verification performance of three Verifiable Credential (VC) formats--SD-JWT VC; the W3C Verifiable Credentials Data Model 2. 0 with a Data Integrity cryptosuite (W3C VCDM); and mdoc (ISO/IEC 18013-5)--over one scope: issue, present with selective disclosure, verify. Node.
By Naohiro Fujie · arxiv.org
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.