separate base58 encoding into separate package