Exemplo n.º 1
0
 public String GetSHA3_Shake128(Param p)
 {
     byte[] h;
     if (p.Fs != null)
     {
         h = SHA3.CreateShake128(128).ComputeHash(p.Fs);
     }
     else
     {
         h = SHA3.CreateShake128(128).ComputeHash(Settings.GetEncoding().GetBytes(p.ValueToHash));
     }
     return(BitConverter.ToString(h));
 }