Home / Expert Answers / Computer Science / using-the-cryptography-library-write-a-front-end-that-displays-a-menu-in-python-this-menu-gives-us-pa195

(Solved): Using the cryptography library, write a front-end that displays a menu in python. This menu gives us ...



Using the cryptography library, write a front-end that displays a menu in python. This menu gives users an option to either 1) Read settings from a settings file. 2) Modify the settings in the settings file. The trick is that these settings should be encrypted. So each time you want to work with the file, you must decrypt it to read it and then encrypt the data before saving it back to the file. I leave you to decide what secret settings you want to save to the file, but it must include an integer, a float, and a string (the string can be fixed in size). So for example, the settings might be “German Shepherd, 120, 3.4”.



We have an Answer from Expert

View Expert Answer

Expert Answer


QUESTION Answer: Next, we need to create a python script that will allow us to encrypt and decrypt our settings file. To do this, we will use the cryptography library. First, we need to import the cryptography library: import cryptography Next, we ne
We have an Answer from Expert

Buy This Answer $5

Place Order

We Provide Services Across The Globe