
from os import urandom
from random import seed , choice
import lib.args

def new ( ) :

    seed( urandom( 8 ) )

    print( "".join( [ choice(
        "azertyuiopqsdfghjklmwxcvbnAZERTYUIOPQSDFGHJKLMWXCVBN`!$%%^&*()_+-=;,./<>?1234567890"
        ) for i in range( 8 ) ] ) )

@lib.args.convert( n = int )
def bytes ( n ) :

    print( " ".join( map( lambda x : hex( int( x ) )[2:] , urandom( n ) ) ) )

def hexadecimal ( password ) :

    print( " ".join(list(map(lambda x : hex( ord( x ) )[2:], password ) ) ) )

@@ -67,16 +67,45 @@
 b.args%0A%0A
+@lib.args.convert( n = int )%0A
 def new 
@@ -105,16 +105,18 @@
 ef new (
+ n
  ) :%0A%0A  
@@ -132,17 +132,17 @@
 random( 
-8
+n
  ) )%0A%0A  
@@ -289,17 +289,17 @@
  range( 
-8
+n
  ) %5D ) )

use variable length passwords