CryptoStream GetCryptoStream2( InheritedHasher hasher) => new CryptoStream( new MemoryStream(new byte[10], true), HashAlgorithm.Create(Algorithms.KeyedHash.HmacSha256), CryptoStreamMode.Write);
CryptoStream GetCryptoStream( InheritedHasher hasher) => new CryptoStream( TestUtilities.CreateNonWritableStream(), HashAlgorithm.Create(Algorithms.KeyedHash.HmacSha256), CryptoStreamMode.Read);