MD5 algorithm implementation
Inheritance: System.Security.Cryptography.HashAlgorithm
Beispiel #1
0
 public void InputBlockSizeTest()
 {
     MD5Hash target = new MD5Hash(); // TODO: Initialize to an appropriate value
     int actual;
     actual = target.InputBlockSize;
     Assert.Inconclusive("Verify the correctness of this test method.");
 }
Beispiel #2
0
 public void CanTransformMultipleBlocksTest()
 {
     MD5Hash target = new MD5Hash(); // TODO: Initialize to an appropriate value
     bool actual;
     actual = target.CanTransformMultipleBlocks;
     Assert.Inconclusive("Verify the correctness of this test method.");
 }
Beispiel #3
0
        /// <summary>
        /// Initializes a new instance of the <see cref="HostKeyEventArgs"/> class.
        /// </summary>
        /// <param name="host">The host.</param>
        public HostKeyEventArgs(KeyHostAlgorithm host)
        {
            this.CanTrust = true;   //  Set default value

            this.HostKey = host.Data;

            this.KeyLength = host.Key.KeyLength;

            using (var md5 = new MD5Hash())
            {
                this.FingerPrint = md5.ComputeHash(host.Data);
            }
        }
Beispiel #4
0
 public void InitializeTest()
 {
     MD5Hash target = new MD5Hash(); // TODO: Initialize to an appropriate value
     target.Initialize();
     Assert.Inconclusive("A method that does not return a value cannot be verified.");
 }
Beispiel #5
0
 public void MD5HashConstructorTest()
 {
     MD5Hash target = new MD5Hash();
     Assert.Inconclusive("TODO: Implement code to verify target");
 }