Exemplos
Example keys and passwords are public test material.
key has to be bigger than 2
Entrada
Cytgah sTEAto rtn rsligcdsrporpyi H r fWiigo ovn oeExpected rejection
Message containsKey has to be bigger than 2- Chave
1- Deslocamento
0
key has to be smaller than input's length
Entrada
shortinputExpected rejection
Message containsKey should be smaller than the cipher's length- Chave
22- Deslocamento
0
normal
Entrada
Cytgah sTEAto rtn rsligcdsrporpyi H r fWiigo ovn oeExpected answer
Cryptography is THE Art of Writing or solving codesCryptography is THE Art of Writing or solving codes
- Chave
2- Deslocamento
0
Normal with Offset non-null
Entrada
51746026813793592840Expected answer
1234567890123456789012345678901234567890
- Chave
4- Deslocamento
2
offset should be positive
Entrada
shortinputExpected rejection
Message containsOffset has to be a positive integer- Chave
2- Deslocamento
-1