GenerateRandomChallenge Method GenerateRandomChallenge() Generates random 8 bytes that can be used as challenge for authentication. C# protected static byte[] GenerateRandomChallenge() Returns System.Byte[] Random 8 bytes.