Added support for Encryption usin OpenSSL as well as Restore option