Esempio n. 1
0
        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));
        }
Esempio n. 2
0
 public override bool Equals(object obj)
 {
     if (obj is StrongHash)
     {
         StrongHash strongHash = (StrongHash)obj;
         this.DoHash();
         strongHash.DoHash();
         return(this.ArraysEqual(strongHash));
     }
     return(false);
 }
Esempio n. 3
0
		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);
		}