Answered step by step
Verified Expert Solution
Question
1 Approved Answer
PYTHON: Write a simple function called func_encr( ) which takes any user-inputed password and verifies password length is btwn 8 and 16 alphanumeric characters, includes
PYTHON: Write a simple function called func_encr( ) which takes any user-inputed password and verifies password length is btwn 8 and 16 alphanumeric characters, includes at least 1 lower case letter, 1 upper case letter, number, and special characters (only @, #, $, or %) and it should return a new string with the encrypted version of the user-inputed string. Feel free to use python's built-in function: chr( ) or ord( ). Example: if you use input "Sattwa@2020" (as your password), your function must return "Tyyf|fE7575" as the encrypted code.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started