using System.Security.Cryptography;
public static void Main()
DateTime endTime = DateTime.UtcNow.AddMinutes(1);
string longString = new string('a', 10000);
int currentSecond = DateTime.UtcNow.Second;
int lastSecond = currentSecond;
for (long i = 0; DateTime.UtcNow < endTime; i++)
currentSecond = DateTime.UtcNow.Second;
if (lastSecond != currentSecond)
lastSecond = currentSecond;
Console.WriteLine("One Second");
string hashString = $"{i}{longString}{i}";
byte[] hash = SHA512.HashData(System.Text.Encoding.UTF8.GetBytes(hashString));