public String GetSHA3_Shake256(Param p) { byte[] h; if (p.Fs != null) { h = SHA3.CreateShake256(256).ComputeHash(p.Fs); } else { h = SHA3.CreateShake256(256).ComputeHash(Settings.GetEncoding().GetBytes(p.ValueToHash)); } return(BitConverter.ToString(h)); }