# 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

KRYPTOS Solutions

### Solution Stats

34.21% Correct | 65.79% Incorrect
Last Solution submitted on Apr 04, 2024

Show comments

### Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!