Base62 encode/decoder for Scala