Encrypting and decrypting a file in linux using openssl