Security for Wireless Ad Hoc Networks