{"id":15776082,"url":"https://github.com/weavejester/crypto-password","last_synced_at":"2025-04-04T08:09:24.362Z","repository":{"id":5662855,"uuid":"6872201","full_name":"weavejester/crypto-password","owner":"weavejester","description":"Library for securely hashing passwords","archived":false,"fork":false,"pushed_at":"2023-06-01T16:08:55.000Z","size":157,"stargazers_count":202,"open_issues_count":1,"forks_count":15,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-05-08T19:30:01.783Z","etag":null,"topics":["bcrypt","clojure","cryptography","kdf","scrypt"],"latest_commit_sha":null,"homepage":null,"language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/weavejester.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2012-11-26T20:48:15.000Z","updated_at":"2024-06-18T21:26:27.580Z","dependencies_parsed_at":"2024-06-18T21:26:25.587Z","dependency_job_id":"54a649d4-00a2-41b7-99ec-128d6c0e677e","html_url":"https://github.com/weavejester/crypto-password","commit_stats":{"total_commits":76,"total_committers":7,"mean_commits":"10.857142857142858","dds":0.1578947368421053,"last_synced_commit":"2873bfa13365249fc003c0862b82e970bdc7646f"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weavejester%2Fcrypto-password","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weavejester%2Fcrypto-password/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weavejester%2Fcrypto-password/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weavejester%2Fcrypto-password/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/weavejester","download_url":"https://codeload.github.com/weavejester/crypto-password/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247142074,"owners_count":20890653,"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":["bcrypt","clojure","cryptography","kdf","scrypt"],"created_at":"2024-10-04T17:04:49.659Z","updated_at":"2025-04-04T08:09:24.344Z","avatar_url":"https://github.com/weavejester.png","language":"Clojure","readme":"# crypto-password\n\n[![Build Status](https://travis-ci.org/weavejester/crypto-password.png?branch=master)](https://travis-ci.org/weavejester/crypto-password)\n\nA Clojure library for securing user passwords using a\n[key derivation function][1]. Supports the following algorithms:\n\n* [PBKDF2](http://en.wikipedia.org/wiki/PBKDF2)\n* [Bcrypt](http://bcrypt.sourceforge.net/)\n* [scrypt](http://www.tarsnap.com/scrypt.html)\n\n[1]: http://en.wikipedia.org/wiki/Key_derivation_function\n\n## Installation\n\nAdd the following dependency to your `project.clj` file:\n\n    [crypto-password \"0.3.0\"]\n\n## Usage\n\nPick an encryption algorithm, either `pbkdf2`, `bcrypt` or `scrypt`:\n\n```clojure\n(require '[crypto.password.\u003calgorithm\u003e :as password])\n```\n\nThen use the `encrypt` function to apply a secure, one-way encryption\nalgorithm to a password:\n\n```clojure\n(def encrypted (password/encrypt \"foobar\"))\n```\n\nAnd the `check` function to check the encrypted password against a\nplaintext password:\n\n```clojure\n(password/check \"foobar\" encrypted) ;; =\u003e true\n```\n\n## Defaults\n\nThe default options for the key derivation algorithms were chosen\nbased on benchmarks carried on on a AWS t1.micro server running Ubuntu\n13.10 (ami-35dbde5c), in March 2014.\n\nOn this hardware, the key derivation functions take approximately\n200ms to complete with their default options. This is a short enough\ntime to not be an inconvenience for a human being, but long enough to\nmake brute forcing encrypted passwords very costly.\n\n## Documentation\n\n* [API Docs](http://weavejester.github.com/crypto-password/)\n\n## License\n\nCopyright © 2021 James Reeves\n\nDistributed under the Eclipse Public License, the same as Clojure.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweavejester%2Fcrypto-password","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fweavejester%2Fcrypto-password","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweavejester%2Fcrypto-password/lists"}