svilen
Zxcvbn for Elixir (Rust NIF) - fast password strength estimator
This is a port of the zxcvbn library, originally by Dropbox.
Unlike another similar package which was done in pure Elixir, this one is using zxcvbn-rs written in Rust and implemented as a NIF.
This was done mostly for fun, although the extra performance may be handy for low-latency apps and those using PhoenixLiveView. Difference in local benchmarks is 0-2ms vs 25-50ms depending on the password. If you don’t care about the difference, you can skip this package ![]()
Hex: zxcvbn_nif | Hex
HexDocs: Zxcvbn v1.0.4 — Documentation
Source: GitHub - svileng/zxcvbn: zxcvbn for Elixir using Rust · GitHub
Hope someone finds it useful ![]()
Most Liked
Schultzer
I just looked at the elixir impl. and without taking a deep dive it looks like there is room for potential performance improvements. Most of the code look like a 1 to 1 conversion from the coffee script, when you do that you gonna end up with code there is not optimazed for the beam, it might even be possible to simplify some of the code.
Popular in Announcing
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #elixirconf-us
- #advent-of-code
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #hex
- #security









