A base 58 encoder