Tickets_Backend/app/hashes.py

4 lines
104 B
Python

from hashids import Hashids
from os import environ
hids = Hashids(environ.get("HASH_KEY", "memes!"), 5)