The Use of Artificial Intelligence in Cybersecurity