Stone.js API
    Preparing search index...
    • Normalise then hash a subject, so A@b.com and a@b.com cannot buy two budgets.

      Hashed because a key is a thing that gets logged, exported and read by whoever debugs the store: an address, a phone number or an account id has no business being there. Truncated to 32 hex characters, which is far past collision territory for a rate-limit bucket.

      Parameters

      • raw: unknown

        The subject, as the request carried it.

      Returns string

      The hashed subject, or nothing when it is absent or empty.