Encode package:base64-bytestring

Encode a string into base64 form. The result will always be a multiple of 4 bytes in length.
Encode a string into base64url form. The result will always be a multiple of 4 bytes in length.
Encode a string into unpadded base64url form.