Problem 1499. Kryptos - CIA Cypher Sculpture: Vigenere Encryption
The Kryptos Sculpture contains four encypted messages.
This Challenge is to Encrypt two of the original messages for the sculptor.
The method employed is Vigenere Encryption. One clarification is that "?" are removed from the coding sequence and then re-inserted in the final encoded message.
Original phrase: Between subtle shading and the absence of light lies the nuance of iqlusion.
For coding purposes spaces and punctuation are removed, except "?".
Phrase to encode: BETWEENSUBTLESHADINGANDTHEABSENCEOFLIGHTLIESTHENUANCEOFIQLUSION
Input: Encode Phrase, Vigenere alphabet word, Vigenere shift word
Vigenere alphabet word ='KRYPTOS';
Vigenere shift word ='PALIMPSEST';
Output: EMUFPHZLRFAXYUSDJKZLDKRNSHGNFIVJYQTQUXQBQVYUVLLTREVJYQTMKYRDMFD
The encryption matrix for this case:
KRYPTOSABCDEFGHIJLMNQUVWXZ
PTOSABCDEFGHIJLMNQUVWXZKRY ABCDEFGHIJLMNQUVWXZKRYPTOS LMNQUVWXZKRYPTOSABCDEFGHIJ IJLMNQUVWXZKRYPTOSABCDEFGH MNQUVWXZKRYPTOSABCDEFGHIJL PTOSABCDEFGHIJLMNQUVWXZKRY SABCDEFGHIJLMNQUVWXZKRYPTO EFGHIJLMNQUVWXZKRYPTOSABCD SABCDEFGHIJLMNQUVWXZKRYPTO TOSABCDEFGHIJLMNQUVWXZKRYP
Follow Up Challenges:
2) Dictionary search
3) KRYPTOS Part IV
Solution Stats
Problem Comments
-
3 Comments
This one was fun.
Very interesting question! Took me a while to figure out this matrix, really enjoy it.
test suite is broken please fix it
Solution Comments
Show commentsProblem Recent Solvers53
Suggested Problems
-
Project Euler: Problem 7, Nth prime
1427 Solvers
-
How many trades represent all the profit?
599 Solvers
-
We love vectorized solutions. Problem 1 : remove the row average.
823 Solvers
-
Unique values without using UNIQUE function
351 Solvers
-
339 Solvers
More from this Author308
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!