Add input validation #12

Closed
opened 2020-04-05 13:40:38 +02:00 by FWDekker · 0 comments
Owner

Base64 can have malformed inputs. For example, an input with length 4n + 1 for integer n is invalid. Similarly, placing the padding (=) anywhere else than the end makes the string invalid. There should be some sort of error handling going on, where the user is informed of invalid inputs and of the reason why the input is malformed.

Base64 can have malformed inputs. For example, an input with length `4n + 1` for integer `n` is invalid. Similarly, placing the padding (`=`) anywhere else than the end makes the string invalid. There should be some sort of error handling going on, where the user is informed of invalid inputs and of the reason why the input is malformed.
FWDekker added the
feature
label 2020-04-05 13:40:38 +02:00
FWDekker self-assigned this 2020-04-05 13:40:38 +02:00
Sign in to join this conversation.
No description provided.