Add input validation #12

Open
opened 2 years ago by FWDekker · 0 comments
FWDekker commented 2 years ago
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 2 years ago
FWDekker self-assigned this 2 years ago
Sign in to join this conversation.
Loading…
There is no content yet.