argon2-browser VS draft-irtf-cfrg-opaque

Compare argon2-browser vs draft-irtf-cfrg-opaque and see what are their differences.

SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
argon2-browser draft-irtf-cfrg-opaque
5 2
349 96
- -
0.0 7.2
about 1 year ago 7 days ago
JavaScript Python
MIT License GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

argon2-browser

Posts with mentions or reviews of argon2-browser. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-02-14.
  • Argon2 is live
    4 projects | /r/Bitwarden | 14 Feb 2023
    It works by the way on CLI and mobile, and mobile is especially slow on some low-end android devices. It *should* also be possible to make parallelism work for the WebAssembly version, but for some reason the issues with threading were never ironed out. I'm not sure whether it's worth investigating that, or to just add SIMD support where possible, and wait for webcrypto to add argon2.
  • The quest for a family-friendly password manager
    5 projects | news.ycombinator.com | 2 Jan 2023
    > So a project like this? https://github.com/antelle/argon2-browser

    Notice how they don't provide any benchmarks that aren't Native or WASM?

    https://soatok.blog/2022/12/29/what-we-do-in-the-etc-shadow-...

    This doesn't help iOS users in Lockdown mode. It may also break for users who run their OS in FIPS mode.

  • How would I hash passwords on the client side with JS
    1 project | /r/webdev | 9 Aug 2022
    Ideally I'd like to use something like of argon2 to derive my key because that's the de facto best algorithm for the purpose. There are a few WASM ports of it but they don't seem maintained and they don't play nice with the bundler I'm using.
  • How did LastPass master passwords get compromised?
    4 projects | news.ycombinator.com | 30 Dec 2021
    > is there really fast enough implementations available to the browser

    Browsers have pretty good support for surfacing native code SHA family hash functions which you can use to speed up PBKDF2. It's called the Web Crypto API and it's available even in Internet Explorer 11. [1]

    If you're willing to drop support for IE11 and older phones like the iPhone 4S, then you get access to WebAssembly. With WASM you can get a bunch of custom algorithms to be quite fast. The Argon2 browser WASM library claims to be only about 10x slower than optimized native code. [2]

    It's not perfect, but it isn't as bad as it used to be with just pure JavaScript.

    --

    [1] https://developer.mozilla.org/en-US/docs/Web/API/Web_Crypto_...

    [2] https://github.com/antelle/argon2-browser

draft-irtf-cfrg-opaque

Posts with mentions or reviews of draft-irtf-cfrg-opaque. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-10-14.
  • Encrypt messages for two-participants chat
    2 projects | /r/cryptography | 14 Oct 2022
    This can naturally be combined with login authentication using https://cfrg.github.io/draft-irtf-cfrg-opaque/draft-irtf-cfrg-opaque.html which also stores an encrypted blob on the server in a similar fashion, and that avoids ever sending user passwords to server.
  • How did LastPass master passwords get compromised?
    4 projects | news.ycombinator.com | 30 Dec 2021
    When I was doing some research into building an app that encrypted data similar to these cloud password managers, I encountered OPAQUE[1] which seems to be the ideal way to perform authentication and securing a master encryption key. It is an asymmetric PAKE that also has a step for providing a salt. This removes the need to do what LastPass does with treating the first hash as a password. There is a great article from Cloudflare on how it works[2], and a working implementation of the spec in rust[3].

    [1]: https://github.com/cfrg/draft-irtf-cfrg-opaque

    [2]: https://blog.cloudflare.com/opaque-oblivious-passwords/

    [3]: https://github.com/novifinancial/opaque-ke

What are some alternatives?

When comparing argon2-browser and draft-irtf-cfrg-opaque you can also consider the following projects:

xxhash-wasm - A WebAssembly implementation of xxHash

opaque-ke - An implementation of the OPAQUE password-authenticated key exchange protocol

pass-import - A pass extension for importing data from most existing password managers

telegram-react - Experimental Telegram web client with tdlib, webassembly and react js under the hood

noble-hashes - Audited & minimal JS implementation of hash functions, MACs and KDFs.

KeeWeb - Free cross-platform password manager compatible with KeePass

clients - Bitwarden client applications (web, browser extension, desktop, and cli)