Encryption related bugs fixed

Encryption related bugs fixed
Merge branch 'master' of https://github.com/punitganshani/konfdb