emn178 / online-tools

Online tools provides md2, md5, sha1, sha2, sha512, bas64, html encode / decode functions
752 stars 347 forks source link

Base32 encode of "" should be "" not "AAAAAAA=" #17

Closed tj800x closed 3 years ago

tj800x commented 3 years ago

According to rfc4648 the base32 encoding of an empty string should be an empty string. The online tool at https://emn178.github.io/online-tools/base32_encode.html returns "AAAAAAA=" for an empty string.

emn178 commented 3 years ago

thanks for report, fixed