I'm not sure this presentation makes it clear the checking of the received message re-computes the hash of the message, and then compares it to the decrypted hash of the signature for a match. It simply said the decryption process would result in an error or "can't decrypt it"... It gives an impression that the decryption function itself results in an error, rather than a result which fails to match something else.
The message is “Hello”, and “Hello” is the data. “Hello” is hashed. The hash of (“Hello”) is then encrypted with the sender’s private key to create the digital signature. The message (“Hello”) is then sent with the digital signature.
Yes, with encryption (separate topic), data is encrypted with the receipient's public key.
in this example, is "message" the "digital signature" or the actual data? is the hash run against both the data and the digital sig or just the digital sig? if i wanted to encrypt the actual data i am emailing, i would use the recipient's public key, right?
You’re correct that the public key encrypts data, but this video is on digital signatures (for authentication, integrity, and non-repudiation). The video explains that in a digital signature the hash (not the data) is encrypted with the sending user's private key. If you wanted to encrypt the actual email (the data), than yes, the receiver’s public key is used to encrypt it (for confidentiality).
The info is wrong. The video says that the private key is what encrypts the data, but it's actually the public key that always encrypts the data and the private key is what decrypts the data.
I'm not sure this presentation makes it clear the checking of the received message re-computes the hash of the message, and then compares it to the decrypted hash of the signature for a match. It simply said the decryption process would result in an error or "can't decrypt it"... It gives an impression that the decryption function itself results in an error, rather than a result which fails to match something else.
tntmnm00 3 months ago
so finally "data" + "Encypted Hash" + "Public key " is sent on the network ?
I think Public key is sent inside a "Digital Certificate".Can you add a video for digital certificate also.
chits006 7 months ago
The message is “Hello”, and “Hello” is the data. “Hello” is hashed. The hash of (“Hello”) is then encrypted with the sender’s private key to create the digital signature. The message (“Hello”) is then sent with the digital signature.
Yes, with encryption (separate topic), data is encrypted with the receipient's public key.
777stevej777 1 year ago
in this example, is "message" the "digital signature" or the actual data? is the hash run against both the data and the digital sig or just the digital sig? if i wanted to encrypt the actual data i am emailing, i would use the recipient's public key, right?
iluvgoldfrapp 1 year ago
You’re correct that the public key encrypts data, but this video is on digital signatures (for authentication, integrity, and non-repudiation). The video explains that in a digital signature the hash (not the data) is encrypted with the sending user's private key. If you wanted to encrypt the actual email (the data), than yes, the receiver’s public key is used to encrypt it (for confidentiality).
777stevej777 1 year ago
@777stevej777
I see. Thanks.
FearKiller 1 year ago
The info is wrong. The video says that the private key is what encrypts the data, but it's actually the public key that always encrypts the data and the private key is what decrypts the data.
FearKiller 1 year ago