{"id":13689984,"url":"https://github.com/jtblin/crypto-md5","last_synced_at":"2025-07-07T20:15:21.525Z","repository":{"id":29844431,"uuid":"33389222","full_name":"jtblin/crypto-md5","owner":"jtblin","description":"Generates an md5 hash using node crypto module","archived":false,"fork":false,"pushed_at":"2015-04-04T00:46:49.000Z","size":112,"stargazers_count":8,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-13T03:22:00.262Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/jtblin.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":"2015-04-04T00:41:18.000Z","updated_at":"2021-08-11T03:54:11.000Z","dependencies_parsed_at":"2022-09-06T18:00:08.102Z","dependency_job_id":null,"html_url":"https://github.com/jtblin/crypto-md5","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtblin%2Fcrypto-md5","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtblin%2Fcrypto-md5/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtblin%2Fcrypto-md5/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtblin%2Fcrypto-md5/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jtblin","download_url":"https://codeload.github.com/jtblin/crypto-md5/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234067140,"owners_count":18774202,"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-08-02T16:00:40.819Z","updated_at":"2025-01-15T16:16:34.330Z","avatar_url":"https://github.com/jtblin.png","language":"JavaScript","funding_links":[],"categories":["Back-end"],"sub_categories":["Buffer utilities"],"readme":"[![NPM version](https://badge.fury.io/js/crypto-md5.svg)](http://badge.fury.io/js/crypto-md5)\n\n# crypto-md5\n\nThere are several md5 modules on npm, but none of them use the `crypto` node module.\nResearching the performance impact of one vs another is tedious, and I just wanted to\nuse the core one without having to duplicate code all the time so I just implemented\nthis function as a separate module.\n\n## Usage\n\n    npm install --save crypto-md5\n\n## API\n\n### md5(data, digest)\n\n  Returns a base64 md5 hash of the buffer or string. Can return an hex digest.\n\n* `data`: buffer or string to hash\n* `digest`: optional digest type. Can be `base64` (default) or `hex`\n\n```js\nvar md5 = require('md5');\n\nmd5('foobar');\n\n// OFj2IjCsPJFfMAxmQxLGPw==\n\nmd5('foobar', 'hex');\n\n// 3858f62230ac3c915f300c664312c63f\n```\n\n## Contributions\n\nPlease open issues for bugs and suggestions in [github](https://github.com/jtblin/crypto-md5/issues).\nPull requests with tests are welcome.\n\n## Author\n\nJerome Touffe-Blin, [@jtblin](https://twitter.com/jtlbin), [About me](http://about.me/jtblin)\n\n## License\n\ncrypto-md5 is copyright 2015 Jerome Touffe-Blin and contributors. It is licensed under the BSD license.\nSee the include LICENSE file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjtblin%2Fcrypto-md5","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjtblin%2Fcrypto-md5","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjtblin%2Fcrypto-md5/lists"}