The RSA encryption algorithm also works in reverse, that is, you can encrypt a message with the private key and decrypt it using the public key. This property is used in

A digital signature is a mathematical scheme for verifying the authenticity of digital messages or documents.