Use a constant time compare for comparing signatures. Fix #7