Skip to main content
. 2022 Apr 12;22(8):2959. doi: 10.3390/s22082959
Algorithm 1. Secret Sharing
Input: QR code Q, number of iterations i
Output: Secret shares S1, S2 & S3

Method:
  1. Apply Arnold Transform on Q
   QA ← Arnold Transform(Q,i)
  2. Find the rank of QA
   k1←rank(QA)
  3. Factor QA into base and coefficient matrices
   [W,H]←NMF(QA,k1)
  4. Find the rank of H
   k2←rank(H)
  5. Factor H into base and coefficient matrices
   [H1, H2]←NMF(QA,k2)
  6. Construct the Secret Shares
     a. S1←W
     b. S2← H1
     c. S3← H2