You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Improvement depends on number of digests performed.
- Browser:
- Precompute a byte-to-hex table.
- ~4-9% improvement overall using improved algorithm in Node.js.
- Browsers should see similar speedup. Node.js normally will use the
method below.
- Node.js:
- Use native `Buffer.from(...).toString('hex')` conversion.
- ~5-12% improvement overall.
- The non-WebCrypto MessageDigest on Node.js is still faster.
0 commit comments