Add base58 enc/dec and proper tests for base58 and hex enc/dec