Searched refs:len_bits (Results 1 – 1 of 1) sorted by relevance
28 def make_key(len_bits): argument30 len_bits % 8 == 0, "Unexpected key length. Should be a multiple "31 "of 8, got %s" % len_bits)32 return binascii.hexlify(os.urandom(int(len_bits/8))).decode()