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