1. Home
  2. Explore
  3. Computer Science
  4. IoT Encryption and Digital Signatures

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

IoT Encryption and Digital Signatures

  • 49Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Security Foundations
  • spaceFlip card
  • KI knew it
  • DI didn't know it
  • ←Previous card
  • →Next card

How can confidentiality be preserved in IoT communications?

Tap to flipClick to flipspace

By encrypting data with symmetric or asymmetric encryption so third parties cannot read it.

Or swipe the card

49 cards

  1. How can confidentiality be preserved in IoT communications?

    By encrypting data with symmetric or asymmetric encryption so third parties cannot read it.

  2. Which mechanisms in the material provide authentication?

    Digital signatures, certificates, and message authentication codes.

  3. Which mechanisms provide message integrity?

    Digital signatures and message authentication codes.

  4. How do digital signatures support non-repudiation?

    They help prove a message's origin and whether it was sent and received.

  5. What is entity authentication?

    Checking that a communicating party is who it claims to be, typically at the start of a session.

  6. What is message authentication?

    Checking that each received message came from the party originally authenticated.

  7. Besides verifying a message's source, what does message authentication check?

    Message integrity, including whether transmission errors corrupted the message.

  8. How do entity and message authentication differ in timing and scope?

    Entity authentication establishes the party's identity at the start of a session; message authentication checks every message during the conversation.

  9. How many keys are shared in symmetric encryption, and how are they used?

    One shared key is used by both endpoints to encrypt and decrypt data.

  10. What are common symmetric encryption ciphers?

    AES, DES, 3DES, and ChaCha20.

  11. What is the primary use of symmetric encryption?

    Encrypting bulk data.

  12. Why is symmetric encryption preferred for bulk traffic over asymmetric encryption?

    It is relatively CPU-efficient and much less compute-intensive than asymmetric encryption.

  13. What is the key-management weakness of symmetric encryption?

    The shared secret key must be delivered to both parties without an attacker intercepting it.

  14. What is the role of a message authentication code (MAC) when paired with symmetric encryption?

    It helps show that a message has not been tampered with and belongs to the authenticated conversation.

  15. What information may be combined to generate a message authentication code?

    A hash of the message, a sequence or session value, and the symmetric encryption key.

  16. How does sequence or session information in a MAC help protect against replay attacks?

    It helps prevent an attacker from reusing previously captured packets.

  17. What are examples of symmetric encryption combined with message authentication?

    AES-GCM and ChaCha20-Poly1305.

  18. What distinguishes asymmetric encryption from symmetric encryption?

    Asymmetric encryption uses a public/private key pair rather than one shared key for both parties.

  19. In asymmetric encryption, how can a device send confidential data to a server?

    The server sends its public key; the device encrypts the data with that key, and the server decrypts it with its private key.

  20. What is needed for confidential asymmetric communication in both directions?

    A public/private key pair at each end, for four keys in total.

  21. Which key in an asymmetric key pair may be sent openly, and which must be kept secret?

    The public key may be shared openly; the private key must remain secret.

  22. Why is asymmetric encryption not generally used to encrypt bulk data?

    It is very compute-intensive compared with symmetric encryption.

  23. What are the two primary uses of asymmetric cryptography?

    Securely exchanging a symmetric key and supporting authentication.

  24. What are RSA and ECC?

    Two common asymmetric cryptography technologies; ECC stands for elliptic curve cryptography.

  25. What roles can RSA perform, and how is its use described in TLS 1.3?

    RSA can support authentication and key exchange; TLS 1.3 removes RSA key exchange but retains RSA for certificate signing.

  26. What is ECC used for, and what algorithm can pair with it for key exchange?

    ECC supports authentication methods such as digital signatures and can pair with Diffie-Hellman for key exchange.

  27. What advantages of ECC are described relative to RSA?

    ECC uses smaller keys, offers better performance, and scales better as key size grows.

  28. What is the purpose of a digital signature on network content such as a software update?

    To help prove that the content came from its claimed source and was not tampered with in transit.

  29. Why is a hash calculated before signing a large software update?

    The hash is much shorter than the original data and therefore faster to sign.

  30. What does hashing the entire update help detect?

    Changes to the update, including data corruption during transmission.

  31. How is the digital signature for an update created?

    The sender hashes the update and signs the hash with the private key used for code signing.

  32. How does an IoT endpoint verify a signed software update?

    It uses the public key to recover the signed hash, hashes the received update, and compares the two hash values.

  33. What does a successful comparison of the received update's hash and the signed hash indicate?

    The update was not altered in transit and is consistent with the hash signed by the code-signing key.

  34. Which hashing algorithms are described as generally accepted secure choices, and which older ones are no longer regarded as secure?

    SHA-256 or stronger is generally accepted; MD5 and SHA-1 are no longer regarded as secure.

  35. What does the size of a hash depend on?

    The hashing algorithm chosen.

  36. What problem does asymmetric key exchange solve for symmetric encryption?

    It enables parties to establish a shared symmetric key without sending that key over an unsecured connection.

  37. What is Diffie-Hellman used for?

    It allows two parties to derive a shared symmetric key without transmitting the key itself.

  38. What does DHE stand for, and what is its key-session property?

    Diffie-Hellman Ephemeral; it calculates a new key for each communication session.

  39. What is forward secrecy?

    Protection ensuring that later compromise of a server's private key does not enable decryption of earlier recorded communications.

  40. Why can compromise of a long-term server key threaten past communications in older key-exchange approaches?

    If past shared keys were derived using the server's certificate public key, an attacker who later obtains the server's private key may derive those shared keys and decrypt recorded traffic.

  41. What does ECDHE stand for?

    Elliptic Curve Diffie-Hellman Ephemeral.

  42. What are the broad steps in an ECDHE key exchange?

    The parties exchange random values and Diffie-Hellman parameters, independently derive a pre-master key, and then derive the session key.

  43. Why can the two parties compute ECDHE keys in parallel?

    The keys are derived locally rather than transmitted, so both parties can perform the calculations at the same time.

  44. How does asymmetric cryptography help authenticate data during key exchange?

    Each party signs the data it sends with its private key so the receiver can verify its source.

  45. What is the purpose of a server certificate in entity authentication?

    It provides the server's public key and information the device can use to verify the server's identity.

  46. How does an IoT endpoint use a certificate to authenticate a server?

    It receives the server certificate, verifies it through the chain of trust, and checks that the server possesses the private key corresponding to the certificate's public key.

  47. Why must a server prove possession of the private key associated with its certificate?

    To show that it controls the private key corresponding to the public key in the certificate.

  48. What does the chain of trust do when an endpoint verifies a server certificate?

    It provides the process by which the endpoint checks whether the server certificate is trustworthy.

  49. How does entity authentication help prevent a man-in-the-middle attack?

    It helps the device confirm it is connecting to the intended party rather than an impostor.

Card 1 of 49
Card 1 of 49

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent