Flask-Bcrypt
Brcrypt hashing for Flask.
Decision gist · record as of 2026-08-14
Yes. Flask-Bcrypt is a mature, actively maintained extension with no known vulnerabilities, low install friction, and a permissive license. It solves a critical security problem—password hashing—with a proven algorithm. Install it if you are building a Flask application that requires user authentication.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Installation is straightforward with low friction—a pure Python wheel with only two runtime dependencies (Flask and bcrypt).
- The package maintains active status with recent commits, though the latest release dates to 2022-04-05.
License · maintenance · safety
BSD (permissive) — BSD license is permissive, allowing use in commercial and proprietary projects with minimal restrictions beyond attribution.
last release 2022-04-05 (1592 days) · last repo commit 2026-04-22 · 327 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 2,323,862 downloads/mo, #3,140 on PyPI
Alternatives
Verify before relying
pip install flask-bcrypt
from flask import Flask
from flask_bcrypt import Bcrypt
app = Flask(__name__)
bcrypt = Bcrypt(app)
pw_hash = bcrypt.generate_password_hash('hunter2')
bcrypt.check_password_hash(pw_hash, 'hunter2') # returns True- Whether the 2022-04-05 release date reflects active maintenance or if the package is in maintenance-only mode
- Python version support beyond 3.7, 3.8, 3.9 listed in classifiers
What it is and what it does
Flask-Bcrypt is a Flask extension that integrates the bcrypt password-hashing algorithm into your application. Bcrypt is intentionally designed to be computationally slow, making it resistant to brute-force attacks even as hardware becomes faster—a significant advantage over older algorithms like MD5 or SHA1 that prioritize speed. The extension exposes two main methods: one to hash a password and one to verify a plaintext password against a stored hash.
You initialize it by passing your Flask app object to the Bcrypt class, then call its hashing and verification methods from anywhere in your application. It's a thin, focused wrapper around the bcrypt library, suitable for any Flask application that needs to store and validate user passwords securely.
Use it for
- Hash user passwords during registration or password-change workflows in a Flask web application
- Verify user-supplied passwords during login against stored bcrypt hashes
- Protect sensitive authentication data in multi-user web applications where password compromise is a security risk
- Replace weak or fast hashing algorithms in legacy Flask applications with a modern, attack-resistant alternative
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
Flask-Bcrypt is a mature, actively maintained extension with no known vulnerabilities, low install friction, and a permissive license. It solves a critical security problem—password hashing—with a proven algorithm. Install it if you are building a Flask application that requires user authentication.
Install
flask-bcrypt on PyPI
Before you install
Installation is straightforward with low friction—a pure Python wheel with only two runtime dependencies (Flask and bcrypt). The package maintains active status with recent commits, though the latest release dates to 2022-04-05.
License in practice
BSD license is permissive, allowing use in commercial and proprietary projects with minimal restrictions beyond attribution.
Quickstart
pip install flask-bcrypt
from flask import Flask
from flask_bcrypt import Bcrypt
app = Flask(__name__)
bcrypt = Bcrypt(app)
pw_hash = bcrypt.generate_password_hash('hunter2')
bcrypt.check_password_hash(pw_hash, 'hunter2') # returns True
Verify before relying
- Whether the 2022-04-05 release date reflects active maintenance or if the package is in maintenance-only mode
- Python version support beyond 3.7, 3.8, 3.9 listed in classifiers
Package facts
| License | BSD permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesFlaskbcrypt |
| Maintenance | Actively maintained 1,592 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 2,323,862 / month, #3,140 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Environment :: Web EnvironmentIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Internet :: WWW/HTTP :: Dynamic ContentTopic :: Software Development :: Libraries :: Python Modules |
Evidence: Flask_Bcrypt-1.0.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “flask password hashing”
- Flask-BcryptFlask-Bcrypt wraps the bcrypt password-hashing library for use in…
- libpassA password hashing library providing implementations of over 30…
- argon2-cffiProvides a simple Python interface to Argon2, a modern password…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also bcrypt · pwdlib · AuthEncoding · passlib · libpass · Flask-HTTPAuth · Flask-Login · argon2-cffi · siphash · scrypt