[runtime] Cache marshal info in locals whenever possible.
[mono.git] / mcs / tools / linker / Tests / TestCases / Integration / Crypto / Test.cs
1 using System;
2 using System.Security.Cryptography;
3 using System.Text;
4
5 class Test {
6
7         static void Main ()
8         {
9                 byte [] foo = Encoding.UTF8.GetBytes ("foobared");
10
11                 HashAlgorithm ha = MD5.Create ();
12                 byte [] hash = ha.ComputeHash (foo);
13
14                 Console.WriteLine (Encoding.UTF8.GetString (hash));
15         }
16 }