Search the courses, subjects, tracks, games and features, or jump straight to a page.
4 cards from this section. Quick, good the night before a test.
What class should be used for secure random number generation in Java?
Consider the class name that implies security in random generation.
Why should you avoid hardcoded credentials in your code?
Think about what happens if the source code is shared or leaked.
Why should you use SecureRandom instead of Random?
Think about security strengths in unpredictable number generation.
True or False: It's acceptable to hardcode credentials in your application.
Consider what happens if your code is shared.
Create a Java application that securely generates a random password using SecureRandom. Implement input validation to ensure the password meets specified criteria.
Remember to use SecureRandom for generating random bytes and validate conditions!
Discuss the implications of not sanitizing input in a web application. Design a small application that doesn't validate and demonstrate a potential attack.
Think about the common attacks and how they manipulate input data.
5 more questions in this section. Enroll free to practise them all.
Enroll free