Broadcast Authentication and Key Management for Secure Sensor Networks