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

Popular posts from this blog

android - Gradle sync Error:Configuration with name 'default' not found -

java - Andrioid studio start fail: Fatal error initializing 'null' -

html - jQuery UI Sortable - Remove placeholder after item is dropped -