Aug
6
www.xkpasswd.net Updated
Filed Under Computers & Tech, Security on August 6, 2012 at 3:46 pm
This afternoon I updated www.xkpasswd.net to version 0.2.1 of the XKpasswd.pm Perl module, and added the needed UI to expose some of the new features introduced in version 0.2.* of the module:
- It is now possible not to use any separator between the words that form the basis of your randomly generated password
- The padding character can now be set to be randomly chosen, independently of the separator character. This is now the default setting, and provides more entropy by default.
- An additional care transform has been added, you can now choose to have the capitalisation alternate on each subsequent word.
Looked at the .pm.
I like this simple method versus the the method you chose )(Line 129)(“There’s more than one way to do it.”)
$instance->{SEPARATORS} = [split(//,’.*-_,#|%^&$=+’)];
I won’t bend to Damian Conway’s will in MANY cases.
Oh, I left a comment on the last nosillacast page too.
Thanks
I think we’ll agree to disagree on that one Tim š
Your solution could easily be made pass Perlcritic, throw in a few flags on the RE, remove the parens around the built-in split function, quote the string with q{} rather than ” and Conway would not complain š
I just like the more explicit declaration I use. It takes a little longer to write, but it’s easier to read, which I think matters too.
I hope you don’t mind my taking your comment as a compliment? If your biggest quibble is my choice of coding style then I can’t have made a complete balls of the module š
Bart.
P.S.
Don’t look at vesion 0.1 of the code, that really was a mess!