Ejemplo n.º 1
0
		public HandshakeHash ()
		{
			hashes = new IHashAlgorithm [6];
			hashes [0] = new MSC.MD5SHA1 ();
			hashes [1] = new MSC.SHA1CryptoServiceProvider ();
			hashes [2] = new MSC.SHA224Managed ();
			hashes [3] = new MSC.SHA256Managed ();
			hashes [4] = new MSC.SHA384Managed ();
			hashes [5] = new MSC.SHA512Managed ();
		}
Ejemplo n.º 2
0
 public HandshakeHash()
 {
     hashes     = new IHashAlgorithm [6];
     hashes [0] = new MSC.MD5SHA1();
     hashes [1] = new MSC.SHA1CryptoServiceProvider();
     hashes [2] = new MSC.SHA224Managed();
     hashes [3] = new MSC.SHA256Managed();
     hashes [4] = new MSC.SHA384Managed();
     hashes [5] = new MSC.SHA512Managed();
 }
Ejemplo n.º 3
0
		public void Setup () 
		{
			hash = new SHA1CryptoServiceProvider ();
		}