Zusammenfassung der Ressource
Solving the Double Keyword Cipher
- Iteration (loops)
- If the user hasn't inputted a message, then they
will outputted with the same question until they
do.
- If the user hasn't inputted a key, then they
will outputted with the same question until
they do.
- Selection (decision)
- To ask whether the user wishes to
encrypt, or decrypt a message.
- Lists
- To be able to list letters of the alphabet.
- To be able to list the special characters
that should be recognisable to my
programme (without outputting errors)
- To be able to validate the work
- To ensure the appropriate messages are being
inputted (particularly the individual characters).
- Modulus
- So the alphabet may loop together to make encryption and
decryption more effective.
- Encryption
- To fulfil the criteria of this task.
- So the programme knows what function to
apply to the message inputted.
- Decryption
- To fulfil the criteria of this task.
- So the programme knows what function
to apply to the message inputted.
- Ask for a message/key
- To fulfil the criteria of this task
- Print
- To output the final result (encrypted
message/decrypted message.
- Text file
- I will need a text file to relay information
from PyScripter onto a plain white file
(for aesthetics).