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