When A Cryptographic Algorithm Is Secure