swift-extras-base64
swift-extras-base64 copied to clipboard
Base64 encode and decode without the use of Foundation in pure Swift.
When I try decoding Base32 string `C7LU2YLHZMWMMAOA2XGIE6NIHFXRN25FRXAUUIFP5LXVTJGW4ICQ====` I get a `DecodingError`. The string has no issues and get decoded correctly by other decoders: This is related to #30 , in...
Add padding for Base32 encoding.
Encoding: `Base64.encodeBytes(bytes: ...)` (redundant "Bytes") Decoding: `Base64.decode(bytes: ...)` IMO they should both follow the "typical Swift" way, e.g. `Base64.encode(bytes: ...)` or even more simply `Base64.encode(...)`