Respuesta :

Sam's public-key should be used to encrypt the message. Each private key is kept hidden while the corresponding public key is made public.

What is meant by public key cryptography?

A public key pair (also known as a public key pair) is used in public key cryptography and is associated with an entity that needs to digitally authenticate its identity or sign or encrypt material. Each private key is kept hidden while the corresponding public key is made public.

Asymmetric cryptography, sometimes known as public-key cryptography, employs pairs of keys. A public key and a private key make up each pair. These key pairs are created using cryptographic methods, which are based on one-way functions, a class of mathematical problems.

In public key encryption, which employs asymmetric-key encryption methods, a public key is created. A message can be rendered illegible by using public keys. The decryption process makes use of an alternative but compatible private key.

The message should be encrypted with Sam's public-key. While the associated public key is made available to the public, each private key is kept private.

To learn more about public key cryptography refer to:

brainly.com/question/8897332

#SPJ4