Switched from crypto.rs to OpenSSL, and updated for language changes.