As a finale to my V-USB tutorial series, I implemented a USB HID keyboard -based password generator by using a ATtiny85. I managed to cram the complete circuit into a USB memory stick enclosure.
AVRfreaks project page:
Youtube video showing it in action:
Details of the construction and inner workings in my blog (also included in the AVRfreaks project page in PDF format as a backup):