1.

What will be the ciphered text for the input string “sanfoundry” with key string as “code” to the program of keyword cipher?(a) SCMBNUMERY(b) SSCMBNUMERY(c) NIFO(d) NILOI got this question in an online interview.This question is from Cryptography in division Cryptography of Data Structures & Algorithms II

Answer»

Right option is (a) SCMBNUMERY

The BEST EXPLANATION: Keyword cipher is type of mono alphabetic cipher. In this algorithm the letters {A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z} by

{C,O,D,E,A,B,F,G,H,I,J,K,L,M,N,P,Q,R,S,T,U,V,W,X,Y,Z} respectively.



Discussion

No Comment Found

Related InterviewSolutions