Newlines should be removed before testing. Padding (=) is required to make the length length divisible by 4.