How Can I Create a Portable Password Generator That Saves Passwords Securely?

0
4
Asked By CleverGiraffe42 On

I'm in the process of developing my own password generator that allows for more customization than what's currently available online. My goal is to keep this generator on my security USB drive since I use it to store my personal accounts. The generator needs to be simple and portable. I've identified HTML, CSS, and JavaScript as the most portable technologies, but I'm stuck on how to save the generated passwords to a file—like JSON or TXT—so I can manage them without duplicates. I've read that JavaScript can't handle writing to local files automatically; it seems like I'd have to download the files manually after generation. I also considered using C# and WinForms, but that would require installation on Windows, limiting my cross-OS portability since I primarily use both Windows and Linux. I have experience with WinForms, but I'm hoping to find a solution that can be universally portable across both environments. Any suggestions?

1 Answer

Answered By TechNerd5 On

If you want to go with JavaScript, consider using Electron. It allows you to write to files locally, and applications like Slack and VS Code are built on it. If you’re up for something different, I’d recommend Go with Fyne. It compiles to a single executable that can run on any platform, from Linux to Windows to mobile. Just make sure you use a strong source for randomness!

QuestionAuthor -

Is that true? I thought I’d need the runtime to be installed for Go applications to work. I’ll do some digging into this!

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.