Searched refs:random_bytes (Results 1 – 3 of 3) sorted by relevance
220 def __init__(self, gmt_unix_time, random_bytes): argument222 self.random_bytes = random_bytes223 assert len(self.random_bytes) == Random.random_bytes_length227 self.random_bytes == other.random_bytes)230 return struct.pack(">I", self.gmt_unix_time) + (self.random_bytes)235 random_bytes = bytes(data.read(cls.random_bytes_length))236 return cls(gmt_unix_time, random_bytes)
2238 random_bytes: Optional[int] = None,2250 if (text is not None) + (random_bytes is not None) + (hex is not None) != 1:2260 elif random_bytes is not None:
312 leader.udp_send(leader.get_ipaddr_rloc(), 1234, random_bytes=3)