Added version that doesn't use openSSL