Distinguishing attack (source code)

= Distinguishing attack
{wiki=Distinguishing_attack}

A distinguishing attack is a type of cryptographic attack aimed at determining whether a given cryptographic algorithm or function is behaving like it should, or whether it is behaving differently (e.g., due to a weakness or flaw). The main goal of a distinguishing attack is to differentiate between the outputs of a cryptographic function (like a pseudorandom function or cipher) and the outputs of a truly random function.