@me2em/core
    Preparing search index...

    Function base64urlDecode

    • Decodes a URL-safe Base64 string to a Uint8Array.

      Implemented on top of the audited @scure/base codec (A3). Throws a generic Error on inputs with characters outside the URL-safe alphabet or an impossible length — token parsers wrap this call and translate failures into AttestationError MALFORMED/FORMAT.

      Parameters

      • input: string

        The unpadded URL-safe Base64 string.

      Returns Uint8Array

      The decoded bytes.