A distributed method of key issue and revocation of mobile ad hoc networks using curve fitting