C# nonce calculator