Updated crypto to use OpenSSL instead of BC