• Encode a token as UTF8 bytes.

    Parameters

    • from: string

      The string version of the token to encode.

    Returns EncodedToken

    The UTF8 encoded token.