Added ability to override default encryption keys.