This document proposes two secure data transmission protocols for cluster-based wireless sensor networks called SET-IBS and SET-IBOOS. SET-IBS relies on the Diffie-Hellman problem for security, while SET-IBOOS relies on the discrete logarithm problem. The protocols aim to securely and efficiently transmit sensor data to base stations while improving on existing protocols by reducing computational overhead and energy consumption through clustering and dynamic routing techniques. Evaluation of the protocols demonstrates their effectiveness compared to other secure clustering methods for wireless sensor networks.