{"id":32184037,"url":"https://github.com/macchiato-framework/macchiato-crypto","last_synced_at":"2026-02-22T19:03:57.681Z","repository":{"id":57713837,"uuid":"77784057","full_name":"macchiato-framework/macchiato-crypto","owner":"macchiato-framework","description":"Library for securely hashing passwords","archived":false,"fork":false,"pushed_at":"2020-08-20T23:28:35.000Z","size":11,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-21T23:37:20.117Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/macchiato-framework.png","metadata":{"files":{"readme":"README.md","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}},"created_at":"2017-01-01T15:17:29.000Z","updated_at":"2020-08-20T23:28:37.000Z","dependencies_parsed_at":"2022-08-25T10:30:45.901Z","dependency_job_id":null,"html_url":"https://github.com/macchiato-framework/macchiato-crypto","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/macchiato-framework/macchiato-crypto","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macchiato-framework%2Fmacchiato-crypto","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macchiato-framework%2Fmacchiato-crypto/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macchiato-framework%2Fmacchiato-crypto/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macchiato-framework%2Fmacchiato-crypto/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/macchiato-framework","download_url":"https://codeload.github.com/macchiato-framework/macchiato-crypto/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macchiato-framework%2Fmacchiato-crypto/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29723574,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-22T15:10:41.462Z","status":"ssl_error","status_checked_at":"2026-02-22T15:10:04.636Z","response_time":110,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":"2025-10-21T23:34:44.239Z","updated_at":"2026-02-22T19:03:57.675Z","avatar_url":"https://github.com/macchiato-framework.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"### a library for securely hashing passwords\n\nFollowing algorithms are supported:\n\n* [Bcrypt](http://bcrypt.sourceforge.net/)\n* [scrypt](http://www.tarsnap.com/scrypt.html)\n\n[![CircleCI](https://circleci.com/gh/macchiato-framework/macchiato-crypto.svg?style=svg)](https://circleci.com/gh/macchiato-framework/macchiato-crypto)\n\n[![Clojars Project](https://img.shields.io/clojars/v/macchiato/crypto.svg)](https://clojars.org/macchiato/crypto)\n\n## Usage\n\nPick an encryption algorithm, either `bcrypt` or `scrypt`:\n\n```clojure\n(require '[macchiato.crypto.\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\nThe `encrypt` and `check` functions have async versions as well:\n\n```clojure\n(password/encrypt-async\n  \"secret\"\n  (fn [err result]\n    (is (scrypt/check \"secret\" result))))\n\n(password/check-async\n  \"secret\"\n  (password/encrypt \"secret\")\n  (fn [err result]\n    (is result)))\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmacchiato-framework%2Fmacchiato-crypto","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmacchiato-framework%2Fmacchiato-crypto","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmacchiato-framework%2Fmacchiato-crypto/lists"}