Preventing black and gray hole attacks in AODV using optimal path routing and hash | IEEE Conference Publication | IEEE Xplore