minor code clean
Encryption module accepts user defined keys