Skip to main content
. 2024 Feb 29;24(5):1582. doi: 10.3390/s24051582
Algorithm 4 Hash Calculation
  • 1:

    function HashCalculation(Attributes)

  • 2:

        Initialize an empty set Hashes

  • 3:

        for each attribute attr in Attributes do

  • 4:

            Compute hash SHA256(attr)

  • 5:

            Add hash to Hashes

  • 6:

        end for

  • 7:

        return Hashes

  • 8:

    end function