View full-text article in PMC Sensors (Basel). 2026 Sep 30;26(19):6205. doi: 10.3390/s26196205 Search in PMC Search in PubMed View in NLM Catalog Add to search Copyright and License information © 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license. PMC Copyright notice Algorithm 2 KeyExt. Input: pp, and IDiOutput: Keys pair (Pk,Sk) 1:KGC calculates aIDi=H1(IDi)∈Zqn×m; 2:Samples sIDi=SampleMat(A,T,σ,aIDi)∈Zqm×m, where AsIDi=aIDimodq, ||sIDi||≤σm, and σ≥||T˜||w(logm); 3:Randomly chooses sd∈{0,1}* as a seed; 4:Calculates L=H2(sd)∈Zqn×m; 5:Randomly selects x∈Dσm; 6:Calculates X=Lxmodq; 7:Returns (Pk,Sk)={(aIDi,L,X),(sIDi,x)} back to user IDi.