// import itertools as it, functools as ft
h = lambda s: ft.reduce(lambda a, b: (a * 31 + b) % 2**32, map(ord, s), 7)
k = sorted({h("".join(p)) for p in it.permutations("ahmet", 3)})
print(*(f"{x:08x}" for x in k[:4]))
ahmet.
Posts, snippets and build logs about the web, the homelab and everything in between. Soon.
~/ahmet.cc $ make deploy
building posts · projects · homelab · talks · photos
building posts · projects · homelab · talks · photos