Changed encryption to call out to openssl instead of using Crypt package.