GoConqr has a new look! Let us know what you think.

Quiz

7b Homomorphic encryption and Attribute-based credentials

Yawen Hou 20 questions

Take the quiz

This quiz has question types that open in the usual player.

Questions in this quiz (20)

  1. 1[blank_start]Group[blank_end] homomorphism
    Given (G, +) , (H, x) two groups, the function h: G => H is a group homomorphism if for all u, v in G,
    h(u [blank_start]+[blank_end] v ) = h(u) [blank_start]x[blank_end] h(v)
    1. A+
    2. Bx
    3. CGroup
  2. 2Homomorphic cryptosystems are [blank_start]malleable[blank_end] by nature
    There exists an homomorphism between their cipher text and plaintext space
    h(x) = Dec(x) => [blank_start]homomophism[blank_end] between C and P

    [blank_start]Partial[blank_end] homomorphic support [blank_start]1[blank_end] arithmetic operation:
    Enc: (P, [blank_start]+[blank_end]) => (C, [blank_start]x[blank_end])
    for all m1, m2 in P, Enc(m1) [blank_start]x[blank_end] Enc(m2) = Enc(m1 [blank_start]+[blank_end] m2)
    Image for question 2
    1. Ax
    2. B+
    3. C+
    4. Dx
    5. E1
    6. FPartial
    7. Ghomomophism
    8. Hmalleable
  3. 3Paillier cryptosystem is [blank_start]additive[blank_end]ly homomorphic:
    > Let p, q = 2 [blank_start]prime[blank_end]s s.t. gcd(pq, (p-1) (q-1)) = 1
    > n = pq
    > d = (p-1)(q-1)
    > u = f^-1(n) mod n
    > Private key: ([blank_start]d[blank_end], u)
    > Public key: [blank_start]n[blank_end]

    For message m in P, r in Z*_n^2 (cyclic group order n^2)

    Enc(m) = (1+n)^m * r^n mode n^2
    Dec(c) = ( [ c^f(n) mod n^2] - 1 )/ n * f^-1(n) mod n

    ex. p = 11, q = 17
    n = 11 * 17 = 187, n^2 = 34969
    f(n) = 160

    m = 175, r = 83 in Z*_187

    cipher text = (1+[blank_start]187[blank_end])^[blank_start]175[blank_end] * [blank_start]83[blank_end]*187 mode [blank_start]34969[blank_end] = 23911
    decryption:
    m = ( [ 23911^[blank_start]160[blank_end] mod 34969] - [blank_start]1[blank_end] )/ [blank_start]187[blank_end] * [ [blank_start]160[blank_end]^-1 mod [blank_start]187[blank_end]] mod 187 = 175 = m
    1. Aadditive
    2. Bprime
    3. Cd
    4. Dn
    5. E187
    6. F175
    7. G83
    8. H34969
    9. I160
    10. J1
    11. K187
    12. L160
    13. M187
  4. 4Possible ways of authentication:
    > Username & [blank_start]password[blank_end]
    > Bio[blank_start]metric[blank_end]s
    > Client [blank_start]certificate[blank_end]s
    > [blank_start]Challenge[blank_end] response with public key cryptography (ssh)
    1. Apassword
    2. Bmetric
    3. Ccertificate
    4. DChallenge
  5. 5Issuer or Identity Provider (IdP): entity that [blank_start]validate[blank_end]s the information in the documents
    Verifier or Service Provider (SP): entity that [blank_start]verifie[blank_end]s that the information is [blank_start]correct[blank_end] and provides a service
    1. Avalidate
    2. Bverifie
    3. Ccorrect
  6. 6[blank_start]Attribute[blank_end]-based credentials (anonymous credentials):
    > Attributes are encoded as n[blank_start]umber[blank_end]s, may represent, e.g.,
    • Membership status (normal user, premium user)
    • Name
    • Age
    • Social security number
    • Random identifiers
    • Application-specific identifiers

    Need credentials to satisfy these properties:
    >[blank_start]Unforgeability[blank_end]: only the [blank_start]issuer[blank_end] should be able to produce [blank_start]valid[blank_end] credentials.
    > [blank_start]Selective[blank_end] [blank_start]disclosure[blank_end]: the user can hide ir[blank_start]relevant[blank_end] attributes
    > [blank_start]Issuer[blank_end] [blank_start]unlinkability[blank_end]: the issuer should not be able to [blank_start]recognize[blank_end] a
    credential that it previously issued
    >[blank_start]Verifier[blank_end] [blank_start]unlinkability[blank_end]: the verifier should not be able to link two consecutive showings of the [blank_start]same[blank_end] credential
    Image for question 6
    1. AAttribute
    2. Bumber
    3. CUnforgeability
    4. Dissuer
    5. Evalid
    6. FSelective
    7. Gdisclosure
    8. Hrelevant
    9. IIssuer
    10. Junlinkability
    11. KVerifier
    12. Lunlinkability
    13. Msame
    14. Nrecognize
  7. 7Traditional signatures satisfy issuer unlinkability.
    1. ATrue
    2. BFalse
  8. 8Blind signatures:
    signer signs a message m with[blank_start]out[blank_end] knowing what it signs. Moreover, it cannot later [blank_start]recognize[blank_end] this signature.
    Needed property: [blank_start]Issuer[blank_end] [blank_start]unlinkability[blank_end]
    Image for question 8
    1. Aout
    2. Brecognize
    3. CIssuer
    4. Dunlinkability
  9. 9zero-knowledge proof: Cave of Ali Baba
    Peggy (the prover) discovers a cave with a secret door. When she speaks the right password the door opens. She need to prove to Victor (verifier) that she can opens the door without revealing the [blank_start]password[blank_end].

    [blank_start]Repeat[blank_end]edly:
    1. Peggy enters the cave and picks a random [blank_start]side[blank_end].
    2. Victor enters and shouts left/right
    3. Peggy exists at the requested [blank_start]side[blank_end].
    Image for question 9
    1. ARepeat
    2. Bside
    3. Cside
    4. Dpassword
  10. 10Properties of zero-knowledge proofs
    > [blank_start]Completeness[blank_end]: If the statement is true, an honest prover can [blank_start]convince[blank_end] an honest verifier that the [blank_start]statement[blank_end] is true.
    > [blank_start]Soundness[blank_end]: If the statement is false, a cheating prover [blank_start]cannot[blank_end] convince an honest verifier with very [blank_start]high[blank_end] [blank_start]probability[blank_end] (i.e., very close to 1).
    > [blank_start]Zero[blank_end]-[blank_start]knowledge[blank_end]: If the statement is true, [blank_start]no[blank_end] verifier learns [blank_start]anything[blank_end] other than the fact that the [blank_start]statement[blank_end] is [blank_start]true[blank_end].
    1. ACompleteness
    2. Bconvince
    3. Cstatement
    4. DSoundness
    5. Ecannot
    6. Fhigh
    7. Gprobability
    8. HZero
    9. Iknowledge
    10. Jno
    11. Kanything
    12. Lstatement
    13. Mtrue

Information

Description
- Information security (7 PIR, Zero knowledge Proof, Paillier, Cyclic group) Quiz on 7b Homomorphic encryption and Attribute-based credentials, created by Yawen Hou on 11/06/2019.
Author
Yawen Hou
Language
English
Views
0
Rating
No ratings yet
Rate this quiz
Rate this quiz

Feedback

What is it about?

What do you think of the new look?

How do you like it?