예제 #1
0
 protected void VerifyRepeating(string input, int repeatCount, string output)
 {
     using (Stream stream = new DataRepeatingStream(input, repeatCount))
     {
         Verify(stream, output);
     }
 }
예제 #2
0
 protected void VerifyRepeating(string input, int repeatCount, string output)
 {
     using (Stream stream = new DataRepeatingStream(input, repeatCount))
     {
         Verify(stream, output);
     }
 }
예제 #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);
            }
        }
예제 #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
        }