I'm too new to Lua to know how to pull this off, but it seems like it'd be rather basic, despite being potentially of great value.
Since you can encrypt entries in Trunk Notes, I'm looking to test out storing passwords in there. Presently, I use 1Password, and it works quite well, but it'd be nice to be able to see if the agility of Trunk Notes will make it any better for me.
The function I'm looking to use would simply generate a really long string, the length of which would possibly be defined as an argument on the function's call, of random numbers and letters, upper and lower case, and potentially punctuation. Something similar to what occurs here - http://rumkin.com/tools/password/pass_gen.php. Not that there would be a big menu and such to use it, but a simple function I could invoke to generate something like the output of that to use as passwords for things that I'd simply store in Trunk Notes and access as needed. I'd store it as a snippet that would be set to be evaluated before insertion, and vola, password generator!
Any help would be appreciated. If not, this would be great as a built in function too, though it seems basic enough to work via Lua, which I say knowing only what I've learned fiddling with the functions of other helpful Trunk Forum goers.
