from hashlib import sha384

def strhash (v):
  # v is a string.
  return sha384 (v.encode()).hexdigest()

A = 'Dijon'
def hrand ():
  global A
  A = strhash(A)
  return (int('0x' + strhash(A)[:2], 16))

L = [hrand() for i in range(100000)]
import matplotlib.pyplot as plt
plt.hist (L)
plt.show()



