Changed privkey to privKey for consistency.
Replaced privkey in entire codebase.