Decrypt XML, Build Rotating PIN

via Freelancer ·

Budget / Salary$250–750
TypeFreelance project
LocationRemote
Posted2 hours ago
I have a single XML file that presently stores an access hash. First, I need the hash decrypted so I know exactly what is inside. Once we understand the current structure, I want new code that recreates the file with a fresh, randomly generated 4-digit PIN that changes every two weeks. The updated PIN must be written back into the same XML structure each cycle.

I am open to your preferred language—Python, C#, PowerShell, or similar—as long as it runs reliably on a standard Windows environment and is easy for me to schedule (Task Scheduler or cron-style job). Please include concise inline comments so I can adjust things like the start date or PIN length later if needed.

Deliverables
• Brief report explaining the original hash contents and XML layout
• Well-commented script that:
 – Decrypts or removes the existing hash
 – Generates a truly random 4-digit PIN every 14 days
 – Writes the new PIN back into the XML in the correct node/attribute
• Quick readme with instructions to run or schedule the script

Acceptance criteria: When I execute the script, the XML should show a brand-new 4-digit number, and running it again within the same two-week window must leave that PIN unchanged; after the window passes, it must update automatically.

If anything in the current file could complicate the process, let me know early so we can adjust before you dive into the build.
c programming xml python c# programming c++ programming software development powershell scripting
Apply on Freelancer →

Project sourced from Freelancer.com. Applications happen directly on the original platform — we never collect your data.