using System.Collections.Generic;
public static void Main()
var collection = new List<short>();
for (int i = 300; i < 1000; i++)
var md5Hash = CreateMD5(i);
collection.ForEach(r => Console.WriteLine(r));
public static short CreateMD5(int input)
using (System.Security.Cryptography.MD5 md5 = System.Security.Cryptography.MD5.Create())
byte[] inputBytes = BitConverter.GetBytes(input);
byte[] hashBytes = md5.ComputeHash(inputBytes);