Artificial intelligence is a branch of computer science, which uses visual perception, speech recognition, decision-making, and translation between languages, to make a machine intelligent without assistance of humans. Artificial intelligence techniques can be used for security management purposes to protect any system from security attacks or threats by warning the user in real-time. For example, Intrusion Detection System is a mode of security software that can automatically detect if someone is trying to hack confidential information through malicious activities or security policy violations, further alerting the user about the attempt to intrude data. Similarly, cryptography is a method of analyzing and transmitting data in a particular form that shares the data only with an intended user.