Task2_6.py 170 B

12345678
  1. def generateKey(size):
  2. start = timer()
  3. key = get_random_bytes(size)
  4. end= timer()
  5. print("Time Taken to generate Key is ",(end-start))
  6. return key