How Can I Create a Portable Password Generator That Saves Passwords Securely?
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
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!
Reply to this answer
Add your answer
Answers are reviewed before publication.
!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!