Hash function now uses SSL resource instead of string version of key

Changed hashing function to use the resource returned from open_ssl_get_privatekey() instead of the string version of key. Please note that this same change was made to DomainKeySigner.php on 9 Jan 2013.