Charles Campbell wrote:
Marc Weber wrote:
a pwd generater requires random values:
:h rand*(<tab>
does not show anything - thus VimL does not support random values.
On linux like operating systems you can use /dev/(u)random and read some
chars or you can use interfaces to the supported scripting languages
(python,ruby,..) or use additional external tools.

Of course you could base it on the time which you can query using some VimL
functions as well.
It all depends on your security requirements.
See http://drchip.0sites.net/astronaut/vim/index.html#RNDM for a pseudo-random number generator for vimL.

One should be able to gin up a password generator with it and nr2char().
I wrote one -- please look at http://drchip.0sites.net/astronaut/vim/index.html#PASSWGEN

Regards,
Chip Campbell

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to