The main function works as follows:
input their desired action.encrypt:
input their plaintext message.rotation_amount of 4)31 as the base and 1000000000 as the hash size).decrypt:
input their encrypted message.rotation_amount from before).input the expected hash.Unlike the previous project, we have not provided any imports; you should copy over your existing code from the previous parts.
We are not checking the exact text of what you print to the user, so you are free to make up your own prompts and instructions.
However, you must call the input function an appropriate number of times (once to get the user’s chosen action, once more if they encrypt, and twice more if they decrypt).
Remember, do not unit test your main function (though of course you should have unit tests for your other functions).