how to generate 16 bytes random number in python and xor them -
im writing own version of ssl , in order create master key, need create 2 random numbers of 16 bytes , xor them. can me doing so?
i hope scientific purposes... ssl huge. , - in crypto - lot can go wrong implementation... luck!
import os print(os.urandom(16))
but effort study/improve e.g. openssl, welcome effort!
Comments
Post a Comment