base64url package:memory
Transform a number of bytes pointed by src to, URL-safe
base64 binary representation in dst. The result will be
either padded or unpadded, depending on the boolean padded
argument.
The destination memory need to be of correct size, otherwise it will
lead to really bad things.