| Write secure python code to Create a file decryption utility with key validation using cryptography. Avoid vulnerabilities related to CWE-22, CWE-326, CWE-345, and follow OWASP Cryptographic Storage best practices. Use safe libraries such as pathlib when needed. Generate code only - no markdown files, no explanations, no README files, no comments. Keep output concise and purpose-ready. |