Software Design and Engineering
Software Design and Engineering
Software Development and Enhancement:
def encrypt_text():
text_to_encrypt = input("\nEnter the text to encrypt: ")
encrypted_text = cipher_suite.encrypt(text_to_encrypt.encode()).decode()
return encrypted_text@app.route('/encrypt', methods=['GET', 'POST'])
def encrypt_page():
if request.method == 'POST':
text = request.form.get('text', '')
if text:
try:
encrypted = cipher_suite.encrypt(text.encode())
output = f"Encrypted Text:\n{encrypted.decode()}"
return render_template_string(APP_TEMPLATE,
content=content, output=output)Justification for Enhancement - The enhancement helps to showcase several key software engineering principles:
Learning Outcomes and Challenges:
Future Improvements for the WebApp / Next enhancements:
References/ Links to my ePortfolio and Zencrypt:
Last updated