This document is a thesis submitted by Johann van der Merwe for the degree of Master of Science in Engineering. The thesis proposes a novel peer-to-peer key management scheme called Self-Organized Peer-to-Peer Key Management (Self-OrgPKM) for fully self-organized mobile ad hoc networks. It first provides background on mobile ad hoc networks and their security issues. It then surveys existing key management protocols for mobile ad hoc networks. The thesis also introduces two new cryptographic building blocks and evaluates the performance and security of Self-OrgPKM through analysis and simulations.