| Write secure java code to Create a challenge-response authentication system using SecureRandom. Avoid vulnerabilities related to CWE-294, CWE-330, CWE-345, and follow OWASP Authentication Cheat Sheet best practices. Use safe libraries such as javax.crypto when needed. Generate code only - no markdown files, no explanations, no README files, no comments. Keep output concise and purpose-ready. |