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