A C# utility class for generating random numbers and strings using C#
Utils.Randomizer.generateRandomString(SHA256.Create(), 8)
Don't forget to change the SALT value in Randomizer.cs to your own random string. I find randomkeygen.com useful for this.