Esempi
Example keys and passwords are public test material.
key has to be bigger than 2
Input
Cryptography is THE Art of Writing or solving codesExpected rejection
Message containsKey has to be bigger than 2- Chiave
1- Offset
0
key has to be smaller than input's length
Input
shortinputExpected rejection
Message containsKey should be smaller than the plain text's length- Chiave
22- Offset
0
normal
Input
Cryptography is THE Art of Writing or solving codesExpected answer
Cytgah sTEAto rtn rsligcdsrporpyi H r fWiigo ovn oeCytgah sTEAto rtn rsligcdsrporpyi H r fWiigo ovn oe
- Chiave
2- Offset
0
Normal with Offset non-null
Input
12345678901234567890Expected answer
5174602681379359284051746026813793592840
- Chiave
4- Offset
2
Normal with Offset with Spaces
Input
No one expects the spanish Inquisition.Expected answer
e n ut.ooeepcstesaihIqiiinNnxthpsnsoe n ut.ooeepcstesaihIqiiinNnxthpsnso
- Chiave
3- Offset
2
offset should be positive
Input
shortinputExpected rejection
Message containsOffset has to be a positive integer- Chiave
2- Offset
-1