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

  • 48Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Security Goals
An IoT device checks at the start of a session that it is connecting to the intended server, rather than an imposter in a man-in-the-middle attack. This is
authentication.

48 questions

  1. 1
    An IoT device checks at the start of a session that it is connecting to the intended server, rather than an imposter in a man-in-the-middle attack. This is
    _____
    authentication.
    Hint

    This form of authentication checks the identity of the communicating party.

    Answer

    entity

  2. 2
    Unlike entity authentication, message authentication checks the source and integrity of
    _____
    message in a conversation.
    Hint

    This check continues throughout the conversation, not just at its beginning.

    Answer

    every

  3. 3
    In symmetric encryption, the endpoint and server use
    _____
    shared key to encrypt and decrypt data.
    Hint

    The same secret is used at both ends of the connection.

    Answer

    a single

  4. 4
    When an endpoint sends symmetrically encrypted data to a server, the server uses the same key to
    _____
    the data.
    Hint

    This operation turns encrypted data back into readable data.

    Answer

    decrypt

  5. 5
    Symmetric encryption is primarily used for
    _____
    data encryption.
    Hint

    It efficiently handles large amounts of data.

    Answer

    bulk

  6. 6
    Most encrypted traffic traveling over the internet uses
    _____
    encryption.
    Hint

    This encryption uses one shared key and is efficient for large amounts of data.

    Answer

    symmetric

  7. 7
    Compared with asymmetric encryption, symmetric encryption is relatively
    _____
    efficient.
    Hint

    The answer refers to the computing resource used to process encryption.

    Answer

    CPU

  8. 8
    The key weakness of symmetric encryption is that the shared secret must be
    _____
    between the endpoint and server.
    Hint

    Both parties need the same secret before they can communicate using this method.

    Answer

    exchanged

  9. 9
    In examples such as AES-GCM and ChaCha20-Poly1305, the cipher is paired with a form of
    _____
    authentication.
    Hint

    The technique checks the authenticity and integrity of individual communications.

    Answer

    message

  10. 10
    A message authentication code is computed by taking a hash of the message and combining it with a sequence or
    _____
    number.
    Hint

    This number can relate to the current communication period.

    Answer

    session

  11. 11
    A message authentication code also uses the symmetric encryption
    _____
    as part of its generation.
    Hint

    This is the shared secret already used by the communicating parties.

    Answer

    key

  12. 12
    A valid message authentication code helps establish that a message has not been
    _____
    .
    Hint

    It detects unauthorized changes to the message.

    Answer

    tampered with

  13. 13
    Message authentication helps show that a message belongs to the established conversation rather than being inserted by an
    _____
    third party.
    Hint

    The message should come from a party that is not a stranger to the authenticated exchange.

    Answer

    unknown

  14. 14
    Unlike symmetric cryptography, asymmetric cryptography uses a
    _____
    to encrypt and decrypt data.
    Hint

    The two related keys have different roles.

    Answer

    key pair

  15. 15
    In the server-receives-data example, the server sends its
    _____
    key to the endpoint so the endpoint can encrypt data for it.
    Hint

    This key is designed to be shared openly.

    Answer

    public

  16. 16
    After the endpoint encrypts data with the server's public key, the server decrypts it using its
    _____
    key.
    Hint

    This key is kept secret and is paired with the public key.

    Answer

    private

  17. 17
    To send encrypted data in the reverse direction, the IoT endpoint must provide its own
    _____
    key to the server.
    Hint

    The server uses this key to encrypt data for the endpoint.

    Answer

    public

  18. 18
    For two-way asymmetric communication, each side needs a public and private key pair, for a total of
    _____
    keys.
    Hint

    Each of the two communicating parties needs two keys.

    Answer

    four

  19. 19
    Because it is very compute intensive, asymmetric cryptography is not used for
    _____
    data encryption.
    Hint

    This kind of encryption handles large volumes of data.

    Answer

    bulk

  20. 20
    The two primary functions of asymmetric cryptography are key exchange and
    _____
    .
    Hint

    This function helps establish the identity or legitimacy of a communicating party.

    Answer

    authentication

  21. 21
    In TLS 1.3, RSA is eliminated for key exchange but retained for
    _____
    signing.
    Hint

    This signing use relates to credentials that contain a public key.

    Answer

    certificate

  22. 22
    ECC is used on its own for authentication methods such as
    _____
    signatures.
    Hint

    These signatures can help prove the origin and integrity of content.

    Answer

    digital

  23. 23
    In abbreviations such as ECDH, ECDHE, and ECDSA, the letters EC refer to
    _____
    .
    Hint

    They identify the mathematical approach underlying the cryptography.

    Answer

    Elliptical Curve

  24. 24
    Compared with RSA, ECC is described as having smaller keys and better performance, and as scaling better as key size
    _____
    .
    Hint

    This describes what happens when keys become larger.

    Answer

    grows

  25. 25
    A digital signature can help prove that network content originated where it claims and was not
    _____
    in transit.
    Hint

    The content should remain unchanged as it travels across the network.

    Answer

    tampered with

  26. 26
    Before signing a large over-the-air update image, the image is processed with a
    _____
    operation.
    Hint

    This operation produces a shorter value representing the input data.

    Answer

    hash

  27. 27
    Hashing the entire update image also provides an integrity check that can detect data transmission
    _____
    .
    Hint

    This can occur when data is altered accidentally during transit.

    Answer

    corruption

  28. 28
    After hashing, the hash is encrypted with an asymmetric operation such as ECDSA or RSA to produce a
    _____
    .
    Hint

    This is the signed value sent alongside the update image.

    Answer

    digital signature

  29. 29
    The hash used to create a code-signing digital signature is encrypted using the
    _____
    key held by the signing server.
    Hint

    The matching public key is distributed to endpoints for verification.

    Answer

    private

  30. 30
    According to the content, SHA256 or greater is generally accepted as a secure
    _____
    method.
    Hint

    This method transforms data into a shorter value used for verification.

    Answer

    hashing

  31. 31
    After creating a digital signature, the update server sends the update image accompanied by the
    _____
    to the IoT endpoint.
    Hint

    This accompanies the image so the endpoint can check its origin and integrity.

    Answer

    digital signature

  32. 32
    To verify an update signature, the IoT endpoint uses the server's
    _____
    key to reveal the hash value in the signature.
    Hint

    This key corresponds to the private key used by the server to sign.

    Answer

    public

  33. 33
    The endpoint verifies an update by comparing the hash it calculates from the image with the hash recovered from the
    _____
    .
    Hint

    The recovered hash was encrypted by the signing server.

    Answer

    digital signature

  34. 34
    The key exchange problem in symmetric encryption arises because the communicating parties need to share a
    _____
    key.
    Hint

    This is the single secret both parties use to encrypt and decrypt data.

    Answer

    symmetric

  35. 35
    In Diffie-Hellman Ephemeral, a new key is calculated for every communication
    _____
    .
    Hint

    This is one individual period of communication between parties.

    Answer

    session

  36. 36
    The security benefit provided by session-specific ephemeral keys is called
    _____
    secrecy.
    Hint

    It protects past communications even if a server's private key is compromised later.

    Answer

    forward

  37. 37
    With earlier Diffie-Hellman implementations and RSA key exchange, the shared key could be based on the public key in the server's
    _____
    .
    Hint

    This server credential contains a public key.

    Answer

    certificate

  38. 38
    ECDHE stands for Elliptical Curve Diffie-Hellman
    _____
    .
    Hint

    The final term describes keys that are generated for individual sessions.

    Answer

    Ephemeral

  39. 39
    In the ECDHE example, the server and endpoint first exchange a random value and the Diffie-Hellman
    _____
    .
    Hint

    Both sides use these values in deriving their keys.

    Answer

    parameters

  40. 40
    After using the received random value and parameters, each side derives a
    _____
    key before deriving the session key.
    Hint

    It is the intermediate key in the derivation process.

    Answer

    pre-master

  41. 41
    Once each side has derived the pre-master key, it uses that key to derive the
    _____
    key.
    Hint

    This is the key used for the particular communication session.

    Answer

    session

  42. 42
    Because ECDHE keys are not actually exchanged over a connection, both sides can compute them in
    _____
    .
    Hint

    The parties perform the calculations at the same time rather than waiting to receive the key.

    Answer

    parallel

  43. 43
    During key exchange, each communicating party signs the data it sends with its own
    _____
    key.
    Hint

    The receiving party can use the corresponding public key to check the sender.

    Answer

    private

  44. 44
    When an IoT endpoint wants to authenticate a server, the server sends its
    _____
    to the endpoint.
    Hint

    This credential contains the server's public key.

    Answer

    certificate

  45. 45
    The server's certificate contains its
    _____
    key.
    Hint

    This key is not secret and can be shared with the endpoint.

    Answer

    public

  46. 46
    Before trusting the server certificate, the IoT endpoint verifies it through the
    _____
    of trust.
    Hint

    This is the certificate validation process used to establish trust.

    Answer

    chain

  47. 47
    After validating the certificate, the endpoint must establish that the server possesses the
    _____
    key associated with the certificate's public key.
    Hint

    This key is kept secret by the server and corresponds to the public key in its certificate.

    Answer

    private

  48. 48
    Once the endpoint verifies the certificate and the server's possession of the corresponding private key, it can be confident it is communicating with the
    _____
    server.
    Hint

    This is the genuine party the endpoint intended to contact.

    Answer

    correct

1 of 48
Question 1 of 48

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent