Take the 2-minute tour ×
Cryptography Stack Exchange is a question and answer site for software developers, mathematicians and others interested in cryptography. It's 100% free, no registration required.

I am studying in CSE and in my recent exam paper, A question was asked as:

Construct a playfair cipher for Plaintext: semester5 and key:technology.

Generally as we are taught yet, there is no example of playfair matrix substitution for numeric value.

So, what to do with number 5? Is there any trick for this kind of encryption?

share|improve this question
If the matrix doesn't have 5, then you simply cannot process that character with that matrix. Perhaps you were expected to think of the use of a larger matrix than the one shown in the lessons. –  Mok-Kong Shen Mar 26 at 20:13
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.