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