Use a constant time compare for comparing signatures. Fix #7
Merge pull request #13 from Lothiraldan/constant_time_compare

Use a constant time compare for comparing signatures. Fix #7
Merge pull request #12 from Lothiraldan/master

Add a check in jwt.encode for data type.