Help for this page

Select Code to Download


  1. or download this
    my $pswd_chars = join( '', map {chr} ( 0x21 .. 0x7e ));
    $pswd_chars =~ s/\d+//   if ( $numbers );
    ...
    if ( length( $pswd_chars ) == 0 ) {
        push @errmsg, "\n *** You eliminated all possible characters.";
    }
    
  2. or download this
    $pswd_chars =~ tr/1Il0O//d  if ( $confusable );
    
  3. or download this
    sub GenPass {
        my ( $pswd_chars, $pswd_len ) = @_;
    ...
        }
        return $pswd;
    }