On a previous post, I had an excellent answer, but I did not understand it fully. The answer contained the following:

Most cryptographic signatures are in fact the hash of the message encrypted with the signer's private asymmetric key. By decrypting the key using the matching public key, the verifier can obtain the original hash, and hence, match that to a locally calculated value of the message's hash.

My confusion is the asymetric keys. The answer stated that you encypted the hash with the private key, and decrypt with the public key. This seems backwards to me

In SSL, I thought the client would encrypt the hash with the public key and the server would decrypt the hash with the private key

Or am I mistakeninly thinking of SSL with digital signatures. Does SSL make use of digital signatures

njd