コード例 #1
0
ファイル: HashAlgorithmTest.cs プロジェクト: johnhhm/corefx
 protected void VerifyRepeating(string input, int repeatCount, string output)
 {
     using (Stream stream = new DataRepeatingStream(input, repeatCount))
     {
         Verify(stream, output);
     }
 }
コード例 #2
0
ファイル: HashAlgorithmTest.cs プロジェクト: stanroze/corefx
 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
        }