UVa 10896

From Algorithmist
Jump to navigation Jump to search

10896 - Known Plaintext Attack[edit]

Summary[edit]

Use bruteforce to simply try all the words and all the 26 possible encryption key.

Explanation[edit]

Use bruteforce to simply try all the words and all the 26 possible encryption key.

Input[edit]

2
drsc sc k docd
test
dl ruvd doha hp pz
we

Output[edit]

k
hl