entviz — @entviz/core & @entviz/react API
    Preparing search index...

    Function characterize

    • Characterize an entropy string into the structured model.

      Returns a plain object with keys: encoding, scheme, role, qualifiers, sizeBasis, sizeBits, parts, entropyType. Never throws for an in-range input: an unrecognized input falls back to the UTF-8 -> base64url path (scheme=null, role=null, sizeBasis="utf8", size measured over the ORIGINAL input bytes).

      Throws for an input past MAX_INPUT_CHARS, with render()'s own message. SEC-F3/F9: this function is a public entry point in its own right — the React pill calls it BEFORE render() — so it enforces the anti-DoS cap itself rather than borrowing render()'s. A sibling entry point that runs first is not protected by a guard downstream of it.

      Parameters

      • entropy: string

      Returns Characterization