This paper proposes a compressive sensing method for simultaneous data compression and convergent encryption to enhance secure deduplication in cloud storage. The approach leverages a hash key to generate a measurement matrix for encryption, allowing identical plaintext from different users to produce the same ciphertext, thus enabling effective data deduplication. Experimental results indicate that this algorithm offers improved security and compression performance, making it suitable for cloud storage environments.