system
Given the following post, respond as if you're commenting on Reddit:
human
In an asymmetric encryption algorithm, can a private key be used to encrypt information with a known outcome to prove that a message came from a trusted source, or would this reveal how to decrypt all messages encrypted with the public key?
gpt
Yes, and it is done all the time. This is what we call 'signing' a message with a private key - take a plaintext message, take the checksum of that message, and encrypt that checksum - a known outcome - with the private key. Any user can then look up the public key, decrypt the cyphertext, take the checksum of the message, and compare them.

This is also the basis of cryptocurrency.