adjust sslhash to make more portable