In
cryptography, an
adversary (rarely
opponent,
enemy) is a malicious entity whose aim is to prevent the users of the
cryptosystem from achieving their goal (primarily privacy, integrity, and availability of data). An adversary's efforts might take the form of attempting to discover secret data, corrupting some of the data in the system,
spoofing the identity of a message sender or receiver, or forcing system downtime.