Paul Rubin wrote:
> IMO it's better to use words than strings of letters. Try something
> like (untested):
>
>import binascii,os
>short_words = [w.strip() for w in file('/usr/dict/words') if len(w) < 8]
>assert len(short_words) > 5000
>passphrase = []
>
>for i in range(2):
Grzegorz Smith <[EMAIL PROTECTED]> writes:
> '\xec2a\xe2\xe2\xeb_\n',"\x9f\\]'\xad|\xe6\xeb",'\xb0\xf8\xd3\xa0>01\xaf'.
> How can I convert this to hash? i change python defaultencoding from ascii
> to utf-8 and try convert this to unicode object but I only get:
Don't use totally arbitrary 8-bit
Hi all
I'm writing small python module which will be a password generator. I read
that python can use system random generator on machine whit *nix os. So i
start using os.urandom and when i generate random string i get something
like this: urandom(8) ->
'\xec2a\xe2\xe2\xeb_\n',"\x9f\\]'\xad|\xe6\x