Sensor networks consist of a great number of devices with heavily limited resources. The project's goal is to offer ubiquitous services in sensor networks securely. To achieve this, the particulars of sensor networks -- devices with little memory capacity, low cpu speed, narrow band communication and limited energy resources -- must be considered.