Bash script to Generate a Strong Password

Discussion in 'all things UNIX' started by lotuseclat79, Aug 24, 2013.

Thread Status:
Not open for further replies.
  1. lotuseclat79

    lotuseclat79 Registered Member

    Joined:
    Jun 16, 2005
    Posts:
    5,390
    Bash script to Generate a Strong Password.

    Bonus: See the comment and make yourself an alias for an alternative random password generator.

    Note: Both techniques require the use of a parameter to specify the length (number of characters) in the generated password.

    -- Tom
     
  2. NGRhodes

    NGRhodes Registered Member

    Joined:
    Jun 23, 2003
    Posts:
    2,381
    Location:
    West Yorkshire, UK
    How does it compare to apg pwgen or mkpasswd ?
     
  3. lotuseclat79

    lotuseclat79 Registered Member

    Joined:
    Jun 16, 2005
    Posts:
    5,390
    Hi Nick,

    As I understand it, separate tests would have to be conducted against each to determine the comparison. I am not sure how to test for the randomness randomness except to try and measure if there are any repeats - starting with the first output, etc. and to determine the length of any repeat cycle, if any, unlike pi. The randomness property combined with the length would then determine how well they compare against each other, I suppose.

    Do you know of any testing suites that could do the comparison?

    -- Tom
     
Thread Status:
Not open for further replies.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.