Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

benchmark webcrypto #102

Merged
merged 1 commit into from
Nov 3, 2024
Merged

benchmark webcrypto #102

merged 1 commit into from
Nov 3, 2024

Conversation

mahnunchik
Copy link
Contributor

I was interested in getting benchmarks with native WebCrypto as well.

The results are interesting:

  • SHA* hashes are 10 times slower then native NodeJS crypto
  • But PBKDF2-HMAC-SHA* are comparable in performance with NodeJS crypto

@paulmillr paulmillr merged commit 45df926 into paulmillr:main Nov 3, 2024
5 checks passed
@paulmillr
Copy link
Owner

Sha256 should be very fast

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