def encode_seeds(seeds): hashids = Hashids(salt="TextWorld") return hashids.encode(*seeds)