This DIY electronics hack turns an old flash drive into a combination USB password generator and USB password key–simply plug it in to unlock your computer.

Joonas Pihlajamaa’s employer requires him to change his password on a regular interval. He wanted to use a strong password but he didn’t want to be bothered remembering a really strong and random password every time he changed it. His solution? Gut a USB flash drive to conceal a random password generator and HID device that types in the new password automatically when plugged in. He can use his combination generator/key to both create strong new passwords and then, once he has changed his login credentials with the new password, simply plug the USB drive, like a key, into his work computer to login.

The USB drive itself looks exactly like a standard thumb drive and, if he were to lose it and someone were to plug it in, it would simply type gibberish (the random password string) with no identifiable information. Hit up the link below to see his build guide including the parts and code you need to create your own generator/key.

DIY USB Password Generator [via Hack A Day]

Profile Photo for Jason Fitzpatrick Jason Fitzpatrick
Jason Fitzpatrick is the Senior Smart Home Editor at How-To Geek. He has over a decade of experience in publishing and has authored thousands of articles at How-To Geek, Review Geek, LifeSavvy, and Lifehacker. Jason served as Lifehacker's Weekend Editor before he joined How-To Geek.
Read Full Bio »