This paper presents a scalable key management approach for wireless sensor networks, focusing on post-distribution key establishment to enhance security against attacks such as node capture and replay. The proposed method allows for efficient key generation and discovery among sensor nodes, ensuring secure communications while maintaining lightweight and resource-efficient operations. Experimental results demonstrate its effectiveness, showing acceptable resistance against various attacks and lower energy consumption compared to existing methods.