A simple question :
1, public key - for message encryption
2, private key - for message decryption
in digital signature
1, private key - encrypt hashed value
2, public key - decrypt hashed value
In my understanding public key is strictly for message encryption, and private key is strictly for message decryption only
as described what happens in digital signature confuses me.
public key is able to decrypt message as well ?
is it the difference between private and public key not as clear cut as 1 is strictly for encryption and another for decryption ?