Black Box Cryptanalysis of Cryptographic Primitives