String input validation - Confirm base64 format

String input validation - Confirm base64 format

Comments

  • Is there a simple way to confirm whether an input string is already in base64 format? Id like to do input validation confirming that an input string is base 64 format. Other than parsing the string by character, and then comparing each character to each of the 64 allowed characters in base 64 format, is there is a simpler way to confirm whether an input string is already in base64 format? I just need a boolean result so I can do input validation on a form. Thoughts anyone?

  • [font=Roboto]The Python module or SDK could be used to do that, otherwise, I think it would be a good case for a feature request.[/font]

Sign In or Register to comment.