{"id":16321951,"url":"https://github.com/gevorg/apache-crypt","last_synced_at":"2025-08-16T23:31:32.759Z","repository":{"id":12816845,"uuid":"15491919","full_name":"gevorg/apache-crypt","owner":"gevorg","description":"Node.js module for Apache style password encryption using crypt(3).","archived":false,"fork":false,"pushed_at":"2024-06-16T10:32:43.000Z","size":328,"stargazers_count":9,"open_issues_count":1,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-12-08T19:23:35.003Z","etag":null,"topics":["crypt","javascript","unix-crypt"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/gevorg.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2013-12-28T12:11:59.000Z","updated_at":"2022-09-21T18:58:52.000Z","dependencies_parsed_at":"2024-06-18T15:44:53.035Z","dependency_job_id":null,"html_url":"https://github.com/gevorg/apache-crypt","commit_stats":null,"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gevorg%2Fapache-crypt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gevorg%2Fapache-crypt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gevorg%2Fapache-crypt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gevorg%2Fapache-crypt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gevorg","download_url":"https://codeload.github.com/gevorg/apache-crypt/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230066933,"owners_count":18167546,"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":["crypt","javascript","unix-crypt"],"created_at":"2024-10-10T22:49:34.802Z","updated_at":"2024-12-17T05:14:57.947Z","avatar_url":"https://github.com/gevorg.png","language":"JavaScript","readme":"# apache-crypt\n[Node.js](http://nodejs.org/) package for Apache style password encryption using crypt(3).\n\n[![build](https://github.com/gevorg/apache-crypt/workflows/build/badge.svg)](https://github.com/gevorg/apache-crypt/actions/workflows/build.yml)\n\n## Installation\n\nVia git (or downloaded tarball):\n\n```bash\n$ git clone git@github.com:gevorg/apache-crypt.git\n```\nVia [npm](http://npmjs.org/):\n\n```bash\n$ npm install apache-crypt\n```\n\n## Usage\n\n```javascript\nconst crypt = require(\"apache-crypt\");\n\n// Encrypting password using auto-generated 2 char salt.\nconst encryptedPassword = crypt(\"mypass\");\n\n// Should print true.\nconsole.log(crypt(\"mypass\", encryptedPassword) == encryptedPassword);\n// Should print false.\nconsole.log(crypt(\"notmypass\", encryptedPassword) == encryptedPassword);\n```\n\n## Running tests\n\nIt uses [mocha](https://mochajs.org/), so just run following command in package directory:\n\n```bash\n$ npm test\n```\n\n## License\n\nThe MIT License (MIT)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgevorg%2Fapache-crypt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgevorg%2Fapache-crypt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgevorg%2Fapache-crypt/lists"}