Use constant-time comparison for credentials
Remove unnecessary conversions
Merge pull request #2 from justinas/master

Use constant-time comparison for credentials