LBAC: Lattice-based Anonymous Credential Based on the zk-creds Paradigm
-
摘要: 基于通用零知识证明技术构造隐私保护匿名凭证,已成为学术界和企业界广泛关注的焦点。zk-creds范式匿名凭证构造机制,允许凭证持有者利用通用零知识证明技术将现有的长效凭证直接转化为匿名凭证,无需依赖可信第三方颁发机构。作为该范式的代表性方案,Crescent继承zk-creds的思想,并通过“准备-展示”两阶段解耦机制,实现了更加高效的凭证展示。然而,Crescent基于传统数论困难假设,不具备抵抗量子计算攻击的能力。因此,该文借鉴Crescent方案的思想,采用基于格密码的交互式证明系统LaBRADOR,提出一种抗量子攻击的zk-creds范式匿名凭证新方案LBAC。该方案首先引入随机掩码机制和Fiat-Shamir变换,将LaBRADOR系统改造为非交互的零知识证明系统;其次,针对LaBRADOR在处理复杂算术电路时面临的性能瓶颈,引入Sumcheck协议将庞大的算术电路验证问题归约为极小规模的证明任务,有效降低证明开销;第三,将改进后的LaBRADOR证明生成流程解耦,使其能够与Crescent的设计思想相契合;最后,该文在随机预言机模型中对LBAC方案的安全属性(如匿名性与不可伪造性)进行全面分析。此外,理论与实验分析表明LBAC与相关方案相比具有一定的优势,凭证展示耗时约为5.27 ms,证明大小约为50.17 kB,兼具轻量性和实用性。Abstract:
Objective With the growing deployment of digital identity systems, protecting user privacy and reducing excessive identity disclosure has become a key requirement.Existing digital identity frameworks, such as eIDAS 2.0 and W3C Verifiable Credentials, rely on cryptographic mechanisms to enable selective disclosure. However, current anonymous credential schemes face two major limitations. First, most existing schemes are built on classical number-theoretic assumptions, which are vulnerable to Shor’s quantum algorithm and cannot resist future quantum computing attacks. Second, high-performance privacy-preserving schemes generally follow the Signature with Efficient Protocol (SEP) paradigm, which requires identity issuers to adopt specific nonstandard signature primitives and results in poor compatibility with existing identity infrastructures. Although the zk-creds paradigm improves compatibility by using general-purpose zero-knowledge proofs to encapsulate standard credentials, existing implementations mainly depend on pairing-based proof systems, such as Groth16, and therefore lack post-quantum security. Meanwhile, lattice-based solutions introduce large proof sizes and high communication overhead due to the complexity of high-dimensional matrix operations. Therefore, developing an anonymous credential scheme that maintains compatibility with existing credential systems while achieving post-quantum security remains an important challenge. Methods A lattice-based anonymous credential scheme named LBAC (Lattice-Based Anonymous Credentials) is proposed under the zk-creds paradigm. The scheme adds a zero-knowledge proof layer between users and verifiers to decouple presentation from the original credential issuance.Existing digital credentials are directly used as private inputs, and no modification or interaction with credential issuers is required. A hybrid proof framework based on the lattice-based LaBRADOR interactive proof system is constructed. First, a random masking mechanism based on Ajtai commitments is introduced to achieve zero-knowledge and non-interactive proof generation. The rejection sampling method is adopted to blind the original witness, and the Fiat-Shamir heuristic is applied to convert the interactive protocol into a non-interactive zero-knowledge argument. Second, the Sumcheck protocol is introduced as a proof compressor to reduce the verification complexity of arithmetic circuits generated from standard signature verification. By transforming large-scale circuit satisfiability statements into smaller polynomial evaluation and dot-product proof tasks, the computational overhead of LaBRADOR is reduced. Finally, based on the design concept of the Crescent scheme, the improved LaBRADOR proof generation process is divided into an offline Prepare phase and an online Show phase. The computationally intensive operations, including Sumcheck compression and the initial D–1 rounds of recursive folding, are completed during the Prepare phase, where intermediate states and base vectors are stored locally. During the Show phase, the prover only performs lightweight lattice vector re-randomization using a fresh nonce and cached data, enabling efficient credential presentation with multi-show unlinkability. Results and Discussions The security properties of the LBAC scheme are analyzed and proven under the random oracle model. Experimental evaluations are conducted on an Ubuntu 20.04 platform equipped with an Intel Xeon Platinum 8352V processor. The results demonstrate that the Prepare-Show architecture effectively improves credential presentation efficiency. By transferring computationally intensive operations to the Prepare phase, the Show phase achieves a presentation time of 5.27 ms, which is lower than that of existing quantum-resistant schemes based on Ligero and remains competitive with classical non-quantum-resistant schemes ( Fig. 4 ). For a circuit scale of 220 constraints, the generated proof size is 50.17 kB, showing lower communication overhead than existing quantum-resistant alternatives (Fig. 5 ). Unlike conventional quantum-resistant schemes whose proof sizes increase rapidly with statement complexity, LBAC maintains a logarithmic proof size through the recursive amortization mechanism of the modified LaBRADOR system. The verification time is 621 ms, which is acceptable considering the post-quantum security provided by the scheme and the fact that verification is generally performed on powerful servers. This overhead can be further reduced through batch verification techniques and GPU acceleration for Number Theoretic Transform (NTT).Conclusions A post-quantum secure anonymous credential scheme for existing digital credentials is proposed by integrating the zk-creds paradigm with an optimized LaBRADOR proof system and the Sumcheck protocol. The proposed framework improves compatibility with existing credential systems while providing post-quantum security, compact proof sizes, and efficient credential presentation. The correctness, presentation unforgeability, and anonymity with multi-show unlinkability are formally proven. Future research will focus on simulation extractability, hardware-based device binding, and traceability mechanisms to further improve security in adaptive adversarial environments and support credential management while preserving privacy. -
1 匿名性攻击游戏:${\mathrm{Exp}_{\varPi ,\mathcal{A}}^{\mathrm{ano}{\text{-}}b}(\lambda )} $
1 $ \mathrm{pp}\leftarrow\mathrm{Setup}(\boldsymbol{1}^{\lambda}) $ 2 $\mathcal{O}=\{{\mathcal{O}}^{\mathrm{Corrupt}},{\mathcal{O}}^{\mathrm{Prepare}},{\mathcal{O}}^{\mathrm{Show}}\} $ 3 $({U}_{0},{U}_{1})\leftarrow {\mathcal{A}}^{\mathcal{O}}(\mathrm{pp},{\text{pk}}_{i}) $ 4 $ b\xleftarrow{{S\mkern-10.5mu/rm}} \{{0,1}\},{\pi }^{*}\leftarrow S(\mathrm{pp},{U}_{b}) $ 5 ${b}^{\prime}\leftarrow \mathcal{A}(\mathrm{pp},{\pi }^{*}) $ 6 如果${U}_{0},{U}_{1}\in {{H}}_{\text{User}} $,返回${b}^{\prime} $;否则,返回0 2 不可伪造性攻击游戏:$\mathrm{Exp}_{\varPi ,\mathcal{A}}^{\mathrm{forge}}(\lambda ) $
1 $\mathrm{pp}\leftarrow \mathrm{Setup}({1}^{\lambda }) $ 2 $ \mathit{\mathrm{\mathit{\mathrm{\mathit{L}}}}}_{\mathrm{nonce}}\leftarrow\varnothing $ 3 $\mathcal{O}=\{{\mathcal{O}}^{\mathrm{Prepare}},{\mathcal{O}}^{\mathrm{Show}}\} $ 4 ${\pi }^{*},\mathrm{nonc}{\mathrm{e}}^{*}\leftarrow {\mathcal{A}}^{\mathcal{O}}(\mathrm{pp},{\text{pk}}_{i}) $ 5 如果$\mathrm{Verify}(\mathrm{pp},{\pi }^{*} $, $\mathrm{nonc}{\mathrm{e}}^{*})=0 $,返回0 6 如果$\exists i\notin {{C}}_{\mathrm{User}},{\pi }^{*}\notin {{Q}}_{\mathrm{Show}}且\mathrm{nonc}{\mathrm{e}}^{*}\notin {{L}}_{\mathrm{nonce}} $ $\mathrm{Verify}(\mathrm{pp},{\pi }^{*},\mathrm{nonc}{\mathrm{e}}^{*})=1 $,返回1;否则,返回0 表 1 本文方案与已有方案的理论性能对比
表 2 本文所用LaBRADOR与其他证明系统理论性能对比
证明系统 证明大小 生成证明时间 验证时间 LaBRADOR O(log2 n) O(n) O(n) Ligero O($ \sqrt{n} $) O(nlog2 n) O($ \sqrt{n} $) Aurora O(log22 n) O(nlog2 n) O(n) Brakedown O($ {n}^{\frac{1}{t}} $) O(n) O($ {n}^{\frac{1}{t}} $) -
[1] CHAUM D. Security without identification: Transaction systems to make big brother obsolete[J]. Communications of the ACM, 1985, 28(10): 1030–1044. doi: 10.1145/4372.4373. [2] CAMENISCH J and LYSYANSKAYA A. A signature scheme with efficient protocols[C]. The 3rd International Conference on Security in Communication Networks, Amalfi, Italy, 2002: 268–289. doi: 10.1007/3-540-36413-7_20. [3] BONEH D, BOYEN X, and SHACHAM H. Short group signatures[C]. The 24th Annual International Cryptology Conference on Advances in Cryptology-CRYPTO 2004, Santa Barbara, USA, 2004: 41–55. doi: 10.1007/978-3-540-28628-8_3. [4] CAMENISCH J and VAN HERREWEGHEN E. Design and implementation of the idemix anonymous credential system[C]. The 9th ACM Conference on Computer and Communications Security, Washington, USA, 2002: 21–30. doi: 10.1145/586110.586114. [5] SONNINO A, AL-BASSAM M, BANO S, et al. Coconut: Threshold issuance selective disclosure credentials with applications to distributed ledgers[C]. The Network and Distributed System Security Symposium (NDSS), San Diego, USA, 2019. doi: 10.14722/ndss.2019.23272. [6] POINTCHEVAL D and SANDERS O. Short randomizable signatures[C]. The Topics in Cryptology-CT-RSA 2016, San Francisco, USA, 2016: 111–126. doi: 10.1007/978-3-319-29485-8_7. [7] 赵陆天禹, 王化群. 基于SM2的去中心化匿名凭证方案[J]. 计算机研究与发展, 2025, 62(12): 3093–3105. doi: 10.7544/issn1000-1239.202440756.ZHAO Lutianyu and WANG Huaqun. SM2-based decentralized anonymous credential scheme[J]. Journal of Computer Research and Development, 2025, 62(12): 3093–3105. doi: 10.7544/issn1000-1239.202440756. [8] 李威翰, 张宗洋, 周子博, 等. 简洁非交互零知识证明综述[J]. 密码学报, 2022, 9(3): 379–447. doi: 10.13868/j.cnki.jcr.000525.LI Weihan, ZHANG Zongyang, ZHOU Zibo, et al. An overview on succinct non-interactive zero-knowledge proofs[J]. Journal of Cryptologic Research, 2022, 9(3): 379–447. doi: 10.13868/j.cnki.jcr.000525. [9] DESMOULINS N, DUMANOIS A, KANE S, et al. Making BBS anonymous credentials eIDAS 2.0 compliant[C]. The 10th International Conference on Security Standardisation Research, Passau, Germany, 2026: 26–45. doi: 10.1007/978-3-032-19567-8_2. [10] W3C. Verifiable credentials data model v2.0: W3C recommendation[EB/OL]. https://www.w3.org/TR/vc-data-model-2.0/, 2025. [11] ROSENBERG M, WHITE J, GARMAN C, et al. zk-creds: Flexible anonymous credentials from zkSNARKs and existing identity infrastructure[C]. The 2023 IEEE Symposium on Security and Privacy (SP), San Francisco, USA, 2023: 790–808. doi: 10.1109/SP46215.2023.10179430. [12] PAQUIN C, POLICHARLA G V, and ZAVERUCHA G. Stronger privacy for existing credentials[C/OL]. https://rwc.iacr.org/2025/program.php, 2025. [13] 俞惠芳, 党宁泽. 车联网环境下去中心化抗量子计算数据共享方案[J]. 电子与信息学报, 2025, 47(10): 3838–3846. doi: 10.11999/JEIT250144.YU Huifang and DANG Ningze. Decentralized anti-quantum internet of vehicles data sharing scheme[J]. Journal of Electronics & Information Technology, 2025, 47(10): 3838–3846. doi: 10.11999/JEIT250144. [14] 赵毅强, 孔金笛, 付玉成, 等. 面向模块化格基密钥封装机制算法多项式乘法的侧信道安全防护关键技术研究[J]. 电子与信息学报, 2025, 47(9): 3126–3136. doi: 10.11999/JEIT250292.ZHAO Yiqiang, KONG Jindi, FU Yucheng, et al. Research on key technologies of side-channel security protection for polynomial multiplication in ML-KEM/Kyber algorithm[J]. Journal of Electronics & Information Technology, 2025, 47(9): 3126–3136. doi: 10.11999/JEIT250292. [15] 刘媛, 王励成, 周永彬. TTRC-ABE: 可追踪可撤销的基于循环代数带误差学习问题的格基属性加密方案[J]. 电子与信息学报, 2025, 47(6): 1911–1926. doi: 10.11999/JEIT240997.LIU Yuan, WANG Licheng, and ZHOU Yongbin. TTRC-ABE: Traitor traceable and revocable CLWE-based ABE scheme from lattices[J]. Journal of Electronics & Information Technology, 2025, 47(6): 1911–1926. doi: 10.11999/JEIT240997. [16] BEULLENS W and SEILER G. LaBRADOR: Compact proofs for R1CS from module-SIS[C]. The 43rd Annual International Cryptology Conference on Advances in Cryptology-CRYPTO 2023, Santa Barbara, USA, 2023: 518–548. doi: 10.1007/978-3-031-38554-4_17. [17] LYUBASHEVSKY V, SEILER G, and STEUER P. The LaZer library: Lattice-based zero knowledge and succinct proofs for quantum-safe privacy[C]. The 2024 on ACM SIGSAC Conference on Computer and Communications Security, Salt Lake City, USA, 2024: 3125–3137. doi: 10.1145/3658644.3690330. [18] NGUYEN N K and SEILER G. Greyhound: Fast polynomial commitments from lattices[C]. The 44th Annual International Cryptology Conference on Advances in Cryptology-CRYPTO 2024, Santa Barbara, USA, 2024: 243–275. doi: 10.1007/978-3-031-68403-6_8. [19] HWANG I, SEO J, and SONG Y. Concretely efficient lattice-based polynomial commitment from standard assumptions[C]. The 44th Annual International Cryptology Conference on Advances in Cryptology–CRYPTO 2024, Santa Barbara, USA, 2024: 414–448. doi: 10.1007/978-3-031-68403-6_13. [20] ARGO S, GÜNEYSU T, JEUDY C, et al. Practical post-quantum signatures for privacy[C]. The 2024 on ACM SIGSAC Conference on Computer and Communications Security, Salt Lake City, USA, 2024: 1523–1537. doi: 10.1145/3658644.3670297. [21] BOOTLE J, LYUBASHEVSKY V, NGUYEN N K, et al. A framework for practical anonymous credentials from lattices[C]. The 43rd Annual International Cryptology Conference on Advances in Cryptology-CRYPTO 2023, Santa Barbara, USA, 2023: 384–417. doi: 10.1007/978-3-031-38545-2_13. [22] MASSIMO J, KAMPANAKIS P, TURNER S, et al. RFC 9881: Internet X. 509 public key infrastructure -- algorithm identifiers for the module-lattice-based digital signature algorithm (ML-DSA)[EB/OL]. https://www.rfc-editor.org/rfc/rfc9881.html, 2025. [23] DELIGNAT-LAVAUD A, FOURNET C, KOHLWEISS M, et al. Cinderella: Turning shabby X. 509 certificates into elegant anonymous credentials with the magic of verifiable computation[C]. The 2016 IEEE Symposium on Security and Privacy (SP), San Jose, USA, 2016: 235–254. doi: 10.1109/SP.2016.22. [24] FRIGO M and SHELAT A. Anonymous credentials from ECDSA[J]. IACR Communications in Cryptology, 2026, 3(1): 7. doi: 10.62056/a3qjmpgxq. [25] AMES S, HAZAY C, ISHAI Y, et al. Ligero: Lightweight sublinear arguments without a trusted setup[C]. The 2017 ACM SIGSAC Conference on Computer and Communications Security, Dallas, USA, 2017: 2087–2104. doi: 10.1145/3133956.3134104. [26] TEAM P Z. Plonky2: Fast recursive arguments with PLONK and FRI[EB/OL]. https://docs.rs/crate/plonky2/latest/source/plonky2.pdf, 2022. [27] BEN-SASSON E, BENTOV I, HORESH Y, et al. Scalable, transparent, and post-quantum secure computational integrity[EB/OL]. https://eprint.iacr.org/2018/046, 2018. [28] GOLOVNEV A, LEE J, SETTY S, et al. Brakedown: Linear-time and field-agnostic SNARKs for R1CS[C]. The 43rd Annual International Cryptology Conference on Advances in Cryptology-CRYPTO 2023, Santa Barbara, USA, 2023: 193–226. doi: 10.1007/978-3-031-38545-2_7. [29] DE SANTIS A, DI CRESCENZO G, OSTROVSKY R, et al. Robust non-interactive zero knowledge[C]. The 21st Annual International Cryptology Conference on Advances in Cryptology-CRYPTO 2001, Santa Barbara, USA, 2001: 566–598. doi: 10.1007/3-540-44647-8_33. [30] FRIEDRICHS K, HARDING F, LEHMANN A, et al. Device-bound anonymous credentials with(out) trusted hardware[EB/OL]. https://eprint.iacr.org/2025/1995, 2025. -
下载: