update base58 post: explain and abstract decoding code