Skip to main content
added 123 characters in body
Source Link
Sylvain Leroux
  • 52.3k
  • 8
  • 114
  • 136

For cryptographically strong pseudo-random bytes you might use the pyOpenSSL wrapper around OpenSSL.

It provides the bytes function to gather a pseudo-random sequences of bytes.

from OpenSSL import rand

b = rand.bytes(n7)

BTW, 12 uppercase letters is a little bit more that 56 bits of entropy. You will only to have to read 7 bytes.

For cryptographically strong pseudo-random bytes you might use the pyOpenSSL wrapper around OpenSSL.

It provides the bytes function to gather a pseudo-random sequences of bytes.

from OpenSSL import rand

b = rand.bytes(n)

For cryptographically strong pseudo-random bytes you might use the pyOpenSSL wrapper around OpenSSL.

It provides the bytes function to gather a pseudo-random sequences of bytes.

from OpenSSL import rand

b = rand.bytes(7)

BTW, 12 uppercase letters is a little bit more that 56 bits of entropy. You will only to have to read 7 bytes.

deleted 72 characters in body
Source Link
Sylvain Leroux
  • 52.3k
  • 8
  • 114
  • 136

For cryptographically strong pseudo-random bytes you might use the pyOpenSSL wrapper around OpenSSL.

It provides the bytes function to gather a pseudo-random sequences of bytes.

BTW, 12 uppercase letters is a little bit more that 8 bits of entropy. You will only to have to read one byte.

from OpenSSL import rand

b = rand.bytes(n)

For cryptographically strong pseudo-random bytes you might use the pyOpenSSL wrapper around OpenSSL.

It provides the bytes function to gather a pseudo-random sequences of bytes.

BTW, 12 uppercase letters is a little bit more that 8 bits of entropy. You will only to have to read one byte.

For cryptographically strong pseudo-random bytes you might use the pyOpenSSL wrapper around OpenSSL.

It provides the bytes function to gather a pseudo-random sequences of bytes.

from OpenSSL import rand

b = rand.bytes(n)
Source Link
Sylvain Leroux
  • 52.3k
  • 8
  • 114
  • 136

For cryptographically strong pseudo-random bytes you might use the pyOpenSSL wrapper around OpenSSL.

It provides the bytes function to gather a pseudo-random sequences of bytes.

BTW, 12 uppercase letters is a little bit more that 8 bits of entropy. You will only to have to read one byte.