Closed
Description
Is it an intended API design that after base64url
alphabet toBase64()
one needs to remove padding with string manipulation if they need to?
I would expect a padding option in toBase64
to control the behaviour (emit vs omit).
As a module developer / implementer of the various security token formats such as JOSE (JWS/JWE/JWT, ... etc) and PASETO I was hoping this API would not require any further string manipulation to achieve the buffer encoding used in so many standards.
Metadata
Metadata
Assignees
Labels
No labels