I'm trying to shorten UUID values (stored in DB as UUID, not string) to be embedded in URLs. I'm aware of Base64 for URL, but trying to see if I can make it without dash and underscore characters. So I would like to convert UUID to base62. After a lot of googling I found:
There's not a standard for this (something like RFC2045), am I right?
Most importantly there's no proper implementation for it. I found a lot of snippets on how to do it, but with some sort of note that "this is a naive implementation" or something. Is there a proper implementation (I don't mind the exact interpretation how the mapping should be done as long as it's done properly)?
There are some base classes in Apache Commons Codec and Guava which are extended for Base32 and Base64, but I didn't find it easy to extend it for Base62. Is it even possible to do it (considering the fact that the mapping is fundamentally different)?
Thanks.