Aug2016 cs Q30

0. The plain text message BAHI encrypted with RSA algorithm using e = 3, d = 7 and n = 33 and the characters of the message are encoded using the values 00 to 25 for letters A to Z. Suppose character by character encryption was implemented. Then, the Cipher Text message is _____.

  • Option : B
  • Explanation :
    RSA algorithm using e = 3, d = 7 and n = 33 and text message BAHI(using the values 00 to 25 → A(00), B(01), C(02),............). for
    B → [m = cd mod n]
    i.e. m = 17 mod 33
    m = 1 mod 33.
    m = 1 → B
    A → 07 mod 33
    m = 0 mod 33.
    m = 0 → A
    m = 77 mod 33
    m = 13 → N
    m = 87 mod 33
    m = 17 → R
    Message will be BANR (using the values 00 to 25 → A(00), B(01), C(02),............). No option is matching. But if we use the values 01 to 26 → A(01), B(02), C(03)....... Then
    B → [m = cd mod n]
    i.e. m = 27 mod 33
    m = 8 mod 33.
    m = 8 → H
    A → 17 mod 33
    m = 1 mod 33.
    m = 1 → A
    m = 87 mod 33
    m = 17 → Q
    m = 97 mod 33
    m = 3 → C
    Message will be HAQC.
    So, option (B) is correct.
Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *