To conserve energy in wireless sensor networks, clustering is the well-known strategies. However, choosing a cluster head that is energy efficient is crucial for the best clustering. Because data packets must be transmitted between cluster members and the sink node, improper cluster head selection (CHs) uses more energy than other sensor nodes. As a result, it lowers the network's performance and lifespan. Due to the requirement that this network implement appropriate security measures to guarantee secure communication. This paper provides a novel cluster head selection technique that addresses issues of networks’ lives and energy usages using Spider Monkey Optimised Fuzzy C-Means Algorithm (SMOFCM). The CH is chosen using the Spider Monkey Optimisation method in the proposed SMOFCM approach, which builds on the Fuzzy C-means clustering framework. The hybrid cryptographic technique is appropriate for WSN for safe data transmission because it can address sensor challenges such processing power, storage capability, and energy. The Rivest-Shamir-Adleman (RSA), advanced encryption standards (AES), and the suggested algorithm are all used at various stages. Because asymmetric key cryptography makes key management simpler but symmetric key cryptography offers a high level of security. The AES algorithm has been created for phase 1. Phase 2 employed RSA, and all phases were carried out concurrently. According to the simulation results, it reduces energy use, lengthens the network's lifespan, and offers faster encryption, decryption, and execution times for secure data transmission