Ad
  • Custom User Avatar

    Are you checking for 'null' or an empty string?

    That might be where you're failing, as the test cases (I don't think) test for those situations. (null being the function not having a value in the string portion; empty string being an empty string entered... i.e. encrypt( ,1) is null because there is nothing entered, where as encrypt('',1) is having an empty string for an argument.