Skip to content

Conversation

@rcoh
Copy link

@rcoh rcoh commented Jan 8, 2018

@rcoh
Copy link
Author

rcoh commented Jan 9, 2018

Build failure is unrelated to code

@Uzlopak
Copy link

Uzlopak commented Nov 22, 2021

Why not

if (crypto.timingSafeEqual(Buffer.from(this.generate(key, opt)), Buffer.from(token))) {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants