swift-extras / swift-extras-base64

Base64 encode and decode without the use of Foundation in pure Swift.
Apache License 2.0
93 stars 13 forks source link

Error decoding Base32 #31

Closed alessionossa closed 6 months ago

alessionossa commented 2 years ago

When I try decoding Base32 string C7LU2YLHZMWMMAOA2XGIE6NIHFXRN25FRXAUUIFP5LXVTJGW4ICQ==== I get a DecodingError.

The string has no issues and get decoded correctly by other decoders:

cryptii.com decoding

This is related to #30 , in fact it gets decoded without errors when final "====" is removed.

adam-fowler commented 6 months ago

fixed and in v1.0