vdemedes

vdemedes/secure-compare

Constant-time comparison algorithm to prevent timing attacks

JavaScript
50
2
No license

secure-compare is a Node.js library that provides a constant-time comparison algorithm to prevent timing attacks, making it ideal for securely comparing sensitive data like passwords or tokens. It's designed for developers working with Node.js versions below v6.6.0 who need a reliable way to compare strings without exposing timing vulnerabilities. For Node.js v6.6.0 and above, the built-in `crypto.timingSafeEqual` is recommended instead.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies

Support the repos that depend on this repository

Top contributors

arb's profile
arb
5 contributions
joeybaker's profile
joeybaker
1 contributions
daguej's profile
daguej
1 contributions
yamikuronue's profile
yamikuronue
1 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet