Did you convert the input into numerical data and do bitwise manipulation or did you leave it as a string?