Updated encrypt and decrypt functionalities
Merge remote-tracking branch 'origin/master'