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

January 13, 2026 1 answer
Asked by !vote accordingly
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?

Answers

glove_compartment_
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!

!check the zipper: 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!

Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions