Esempio n. 1
0
 protected void VerifyRepeating(string input, int repeatCount, string output)
 {
     using (Stream stream = new DataRepeatingStream(input, repeatCount))
     {
         Verify(stream, output);
     }
 }
Esempio n. 2
0
 protected void VerifyRepeating(string input, int repeatCount, string output)
 {
     using (Stream stream = new DataRepeatingStream(input, repeatCount))
     {
         Verify(stream, output);
     }
 }
Esempio n. 3
0
        protected void VerifyRepeating(string input, int repeatCount, string output)
        {
            using (Stream stream = new DataRepeatingStream(input, repeatCount))
            {
                VerifyComputeHashStream(stream, output);
            }

            using (Stream stream = new DataRepeatingStream(input, repeatCount))
            {
                VerifyICryptoTransformStream(stream, output);
            }
        }
Esempio n. 4
0
        protected void VerifyRepeating(string input, int repeatCount, string output)
        {
            using (Stream stream = new DataRepeatingStream(input, repeatCount))
            {
                VerifyComputeHashStream(stream, output);
            }

#if netstandard17
            using (Stream stream = new DataRepeatingStream(input, repeatCount))
            {
                VerifyICryptoTransformStream(stream, output);
            }
#endif
        }