URL safe base64 string encoding; fix the encoding signature; update scala and dependencies version