3 ms·
Show HN: I got tired of Base64, so I made a numeric-only alternative
I created numbase is an alternative to Base64 that encodes data into a single large number instead of ASCII characters. It's useful if you want to store or transmit data in numeric form and easily apply compression algorithms like Huffman.
GitHub: https://github.com/Ferki-git-creator/numbase https://github.com/Ferki-git-creator/numbase
- gabrielsroka 1y agoUrl?
- BinaryIgor 1y agoHmm - why would you do that? How much data, if any, can you safe by compressing it as to compared with the classic Base64?
- Forgret 1y agoIt depends on the data. Base64 adds ~33% overhead, while NUMBASE can be encoded into one large number at once and compressed with Huffman or other algorithms. For some data types this results in fewer extra characters.
- a570xyz 1y agoI'm very curious as to how one gets tired of Base64?
- Forgret 1y agoBase64 is great and widely used. I just wanted to experiment with a numeric-only representation. NUMBASE encodes everything into a single large number, which can make certain compression schemes like Huffman more efficient and opens up new ways to store or transmit data.
- deleted 1y ago[deleted]