base32-js icon indicating copy to clipboard operation
base32-js copied to clipboard

``alias`` make decoding buggy

Open calve opened this issue 8 years ago • 0 comments

Hi folks,

I noticed the following behaviour

> base32.decode(base32.encode("deadbeef111"))
< "d{adbe{f111"

which appers to be introduced by the alias behaviour. I nulled the aliases dictionnary to retablish the desired behaviour.

> base32.decode(base32.encode("deadbeef111"))
< "deadbeef111"

calve avatar Feb 26 '16 16:02 calve