Skip to content
This repository was archived by the owner on May 24, 2025. It is now read-only.
This repository was archived by the owner on May 24, 2025. It is now read-only.

Refactor Post IDs #8

@VincentRPS

Description

@VincentRPS

Generate a globally unique post ID using the following data combined into a value hashed with xxh. The hash made up of the following values separated by a zero-width unicode space:

  • Permanent user id
  • A random assortment of exactly 16 characters A-Za-z1-9, allowing a possible amount of 61^16 unique combinations. This is set by the server of the user id.
  • A Unix timestamp, matching with the Posts original creation ts, not index ts.
  • A signature of the previous two combined with no separator.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions