Skip to main content
. 2026 Sep 30;26(19):6205. doi: 10.3390/s26196205
Algorithm 2 KeyExt.
Input: pp, and IDi
Output: 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.