Move to a single base64 method
Unify challenge validation
Merge pull request #7 from equalitie/oschaaf-sanitize-more

sanitize: unify validation, remove base64 duplication