{"id":13421673,"url":"https://github.com/maxcountryman/flask-bcrypt","last_synced_at":"2025-05-15T10:08:00.525Z","repository":{"id":41499400,"uuid":"1886138","full_name":"maxcountryman/flask-bcrypt","owner":"maxcountryman","description":"Flask-Bcrypt is a Flask extension that provides bcrypt hashing utilities for your application.","archived":false,"fork":false,"pushed_at":"2023-11-22T19:12:39.000Z","size":281,"stargazers_count":326,"open_issues_count":8,"forks_count":65,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-04-14T16:57:48.895Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://readthedocs.org/docs/flask-bcrypt/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maxcountryman.png","metadata":{"files":{"readme":"README.markdown","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2011-06-12T21:20:23.000Z","updated_at":"2024-11-17T14:56:32.000Z","dependencies_parsed_at":"2024-06-18T12:53:38.073Z","dependency_job_id":null,"html_url":"https://github.com/maxcountryman/flask-bcrypt","commit_stats":{"total_commits":86,"total_committers":26,"mean_commits":"3.3076923076923075","dds":0.686046511627907,"last_synced_commit":"d9064521998846a59a98f311e3bd135e1dfe082c"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxcountryman%2Fflask-bcrypt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxcountryman%2Fflask-bcrypt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxcountryman%2Fflask-bcrypt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxcountryman%2Fflask-bcrypt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maxcountryman","download_url":"https://codeload.github.com/maxcountryman/flask-bcrypt/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254319721,"owners_count":22051074,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-30T23:00:28.025Z","updated_at":"2025-05-15T10:07:55.501Z","avatar_url":"https://github.com/maxcountryman.png","language":"Python","readme":"[![Tests](https://img.shields.io/github/workflow/status/maxcountryman/flask-bcrypt/Tests/master?label=tests)](https://github.com/maxcountryman/flask-bcrypt/actions)\n[![Version](https://img.shields.io/pypi/v/Flask-Bcrypt.svg)](https://pypi.python.org/pypi/Flask-Bcrypt)\n[![Supported Python Versions](https://img.shields.io/pypi/pyversions/Flask-Bcrypt.svg)](https://pypi.python.org/pypi/Flask-Bcrypt)\n\n# Flask-Bcrypt\n\nFlask-Bcrypt is a Flask extension that provides bcrypt hashing utilities for\nyour application.\n\nDue to the recent increased prevalence of powerful hardware, such as modern\nGPUs, hashes have become increasingly easy to crack. A proactive solution to\nthis is to use a hash that was designed to be \"de-optimized\". Bcrypt is such\na hashing facility; unlike hashing algorithms such as MD5 and SHA1, which are\noptimized for speed, bcrypt is intentionally structured to be slow.\n\nFor sensitive data that must be protected, such as passwords, bcrypt is an\nadvisable choice.\n\n## Installation\n\nInstall the extension with one of the following commands:\n\n    $ easy_install flask-bcrypt\n\nor alternatively if you have pip installed:\n\n    $ pip install flask-bcrypt\n\n## Usage\n\nTo use the extension simply import the class wrapper and pass the Flask app\nobject back to here. Do so like this:\n\n    from flask import Flask\n    from flask_bcrypt import Bcrypt\n\n    app = Flask(__name__)\n    bcrypt = Bcrypt(app)\n\nTwo primary hashing methods are now exposed by way of the bcrypt object. Use\nthem like so:\n\n    pw_hash = bcrypt.generate_password_hash('hunter2')\n    bcrypt.check_password_hash(pw_hash, 'hunter2') # returns True\n\n## Documentation\n\nThe Sphinx-compiled documentation is available here: https://flask-bcrypt.readthedocs.io/\n","funding_links":[],"categories":["Utils","Python","Uncategorized","介绍"],"sub_categories":["Uncategorized"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxcountryman%2Fflask-bcrypt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxcountryman%2Fflask-bcrypt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxcountryman%2Fflask-bcrypt/lists"}