public override string ToString() { StrongHash strongHash = new StrongHash(); strongHash.ms.Write(this.ms.GetBuffer(), 0, (int)this.ms.Length); strongHash.DoHash(); return(StrongHash.ByteArrayToHex(strongHash.hashValue)); }
public override bool Equals(object obj) { if (obj is StrongHash) { StrongHash strongHash = (StrongHash)obj; this.DoHash(); strongHash.DoHash(); return(this.ArraysEqual(strongHash)); } return(false); }
public override string ToString() { StrongHash strongHash = new StrongHash(); strongHash.ms.Write(this.ms.GetBuffer(), 0, (int)this.ms.Length); strongHash.DoHash(); return StrongHash.ByteArrayToHex(strongHash.hashValue); }