摘要:In order to solve the symmetrical encryption method of key management project for Wireless Sensor Network (WSN) existing the deficiencies problem, the problem as follows: the WSN is not secure enough; there is no authentication mechanism among nodes. According to this circumstance, firstly elliptic curve cryptosystem (ECC) is used in this paper, and then it makes analysis of the principle of TinyOS. The calculation speed of elliptic curve has been improved based on optimal extended field by selecting suitable big prime number and other ways. We proposed a key management scheme for WSN based on ECC and clustering. At last, we make simulation with TinyOS. The simulation shows that proposed scheme is more secure, including forth security and back security, stronger Anti-DDos capacity and supporting dynamic structure of WSN comparing other traditional schemes. Furthermore, the computational complexity and energy cost of proposed scheme are feasible.