quackduck / aces

Encode in a character set of your choice
MIT License
68 stars 3 forks source link

[Request] Add an error message for cases where the input does not match the decoding charset #7

Open xplshn opened 4 months ago

xplshn commented 4 months ago

image

xplshn commented 4 months ago

Why is it so unreliable? Are there any limits to how many characters one can use? If so, why is there no graceful error?

quackduck commented 4 months ago

That is so strange. I will investigate

xplshn commented 4 months ago

Thanks, I really want to use Aces as an alternative to github.com/xplshn/m_ascii85, since it seems much more powerful, and I'd be able to use it like a base122 encoder

xplshn commented 4 months ago

What should happen is: It displays an error or tries to decode the data even if the output is/may be incorrect.

quackduck commented 4 months ago
image

looks like a problem with the generic coder

quackduck commented 4 months ago

Thanks, I really want to use Aces as an alternative to github.com/xplshn/m_asci85, since it seems much more powerful, and I'd be able to use it like a base122 encoder

I don't seem to be able to access that repo. what is it about?

xplshn commented 4 months ago

Thanks, I really want to use Aces as an alternative to github.com/xplshn/m_asci85, since it seems much more powerful, and I'd be able to use it like a base122 encoder

I don't seem to be able to access that repo. what is it about?

The URL had a typo: https://github.com/xplshn/m_ascii85

Its an alternative to base64 with an efficiency of 80% (according to Wikipedia's page).

I only need to have a wider charset so that archives generated by https://github.com/xplshn/Handyscripts/blob/master/pelf won't bloat the size of each packed file (binary + its libraries or whatever you add) by up to 37%