ssg / SimpleBase

.NET library for encoding/decoding Base16, Base32, Base58 and Base85.
Apache License 2.0
147 stars 21 forks source link

Base62 support? #44

Open alexeyshockov opened 3 years ago

alexeyshockov commented 3 years ago

Hey, thanks for a great library.

Do you plan to support base62?

ssg commented 3 years ago

Thanks @alexeyshockov, what's the use case for it? It looks like a less human-friendly Base58 variant. :)

alexeyshockov commented 2 years ago

Sorry for a late answer... Actually I already solved my initial problem with another solution, without any additional encoding/decoding. So no need, at least for me now :)

Overall IMO it would make sense to just add base62, because the lib already supports multiple encoding, so adding another one will make it more complete. But maybe it makes sense to wait for another person with such a request :)

Closing for now.

ssg commented 2 years ago

I found references to Base62 on these pages:

https://github.com/segmentio/ksuid https://sudhir.io/uuids-ulids