You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary D. Gregory (Jira)" <ji...@apache.org> on 2025/01/24 13:48:00 UTC
[jira] [Comment Edited] (CODEC-326) Adding Base58 support
[ https://issues.apache.org/jira/browse/CODEC-326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17916529#comment-17916529 ]
Gary D. Gregory edited comment on CODEC-326 at 1/24/25 1:47 PM:
----------------------------------------------------------------
Ah, here's an RFC draft: [https://datatracker.ietf.org/doc/html/draft-msporny-base58-03]
Note:
{quote}
Other application-specific alphabets for Base58, such as the Ripple
alphabet and the Flickr alphabet exist. Those alphabets, while valid
in their own application spaces, are not valid encoding formats for
this specification and MUST NOT be used. Supporting more than one
Base58 encoding alphabet would harm interoperability.
{quote}
Is the proposal here to follow the RFC draft or allow pluggable alphabets?
was (Author: garydgregory):
Ah, here's an RFC draft: https://datatracker.ietf.org/doc/html/draft-msporny-base58-03
> Adding Base58 support
> ---------------------
>
> Key: CODEC-326
> URL: https://issues.apache.org/jira/browse/CODEC-326
> Project: Commons Codec
> Issue Type: New Feature
> Reporter: Wolff Bock von Wuelfingen
> Priority: Major
>
> While it is coming from the bitcoin world, it is a very handy format for actual humans to read and enter into a software.
> For example: In my personal use case, i am generating licence keys which use base58 to reduce the input a human has to do, while at the same time keeping errors low(er) because of the removed characters compared to base64. This is for devices with no internet connection.
> I will have to roll my own implementation for now, but would have liked to use Commons Codec for that.
> One implementation example can be found [here|https://github.com/WaykiChain/wicc-wallet-utils-kotlin/blob/master/src/main/java/org/bitcoinj/core/Base58.java].
--
This message was sent by Atlassian Jira
(v8.20.10#820010)