def _random_salt():
 salt_chars = _gen_candidate_chars(['ascii_letters', 'digits', './'])
 return _random_password(length=8, chars=salt_chars)

def _random_salt ( ) : salt_chars = _gen_candidate_chars ( [ 'ascii_letters' , 'digits' , './' ] ) return _random_password ( length = 8 , chars = salt_chars )
return a text string suitable for use as a salt for the hash functions we use to encrypt passwords .