Exemples
Example keys and passwords are public test material.
key has to be bigger than 2
Entrée
Cytgah sTEAto rtn rsligcdsrporpyi H r fWiigo ovn oeExpected rejection
Message containsKey has to be bigger than 2- Clé
1- Décalage
0
key has to be smaller than input's length
Entrée
shortinputExpected rejection
Message containsKey should be smaller than the cipher's length- Clé
22- Décalage
0
normal
Entrée
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
- Clé
2- Décalage
0
Normal with Offset non-null
Entrée
51746026813793592840Expected answer
1234567890123456789012345678901234567890
- Clé
4- Décalage
2
offset should be positive
Entrée
shortinputExpected rejection
Message containsOffset has to be a positive integer- Clé
2- Décalage
-1