-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
We may want to specify the padding for base64URL encoding in https://interledger.org/five-bells-condition/spec.html.
From rfc4648 :
In some circumstances, the use of padding ("=") in base-encoded data
is not required or used. In the general case, when assumptions about
the size of transported data cannot be made, padding is required to
yield correct decoded data.
Implementations MUST include appropriate pad characters at the end of
encoded data unless the specification referring to this document
explicitly states otherwise.
It looks like some implementation (like the one in this directory) drops padding. Implementations in other languages may not (for instance in Java and Haskell), creating inconsistencies. Comparing conditions becomes more complex in case of optional padding.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels