TSHA3Hash.TupleHash


Tuple1 = '1234'

Tuple2 = 'ABCD'

Tuple3 = '5678'

Salt = 'EpFSQpEw/NLh/ZZUgxVcDj08DOs+JqUZ70D9QKXygkAVyigOOgRDC7TLU/fuuuMZ'

with TSHA3Hash

      AType := txof;
      OutputFormat := base64;
      hashSizeBits := 128;
      version := 512;

TSHA3Hash is created , method TupleHash called,  and freed, twice...

Attempt 1: MyHash1 = 'LW5TxOPlF2yrbyNBaVZ8FQ=='

Attempt 2: MyHash2 = 'zGLvUlNpMD5TW+3ZXlKQvw=='

So the two hash values are different, is this normal? There seems to be some random factor (?)


I attached a zip file with the small form unit in the reply to the e-mail notification. I didn't see how to do it in the forum.

Thanks.