Cryptographic Primitives And Quantum Theory