{"id":15365939,"url":"https://github.com/andywer/isomorphic-crypto","last_synced_at":"2025-07-08T18:07:29.719Z","repository":{"id":57278074,"uuid":"101108436","full_name":"andywer/isomorphic-crypto","owner":"andywer","description":"🔒 Isomorphic crypto package for node and the browser.","archived":false,"fork":false,"pushed_at":"2017-08-22T21:27:39.000Z","size":19,"stargazers_count":12,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-17T21:46:07.418Z","etag":null,"topics":[],"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/andywer.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-08-22T21:21:20.000Z","updated_at":"2020-05-19T03:14:41.000Z","dependencies_parsed_at":"2022-09-13T18:40:38.523Z","dependency_job_id":null,"html_url":"https://github.com/andywer/isomorphic-crypto","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/andywer/isomorphic-crypto","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andywer%2Fisomorphic-crypto","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andywer%2Fisomorphic-crypto/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andywer%2Fisomorphic-crypto/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andywer%2Fisomorphic-crypto/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andywer","download_url":"https://codeload.github.com/andywer/isomorphic-crypto/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andywer%2Fisomorphic-crypto/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264321024,"owners_count":23590566,"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-10-01T13:16:45.303Z","updated_at":"2025-07-08T18:07:29.697Z","avatar_url":"https://github.com/andywer.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# isomorphic-crypto [![NPM Version](https://img.shields.io/npm/v/isomorphic-crypto.svg)](https://www.npmjs.com/package/isomorphic-crypto)\n\nIsomorphic crypto package for node and the browser. Uses the [native crypto module](https://nodejs.org/api/crypto.html) when run in node and [crypto-browserify](https://www.npmjs.com/package/crypto-browserify) when run in the browser. Use it for hashing, signing and your other crypto needs!\n\n\n## Installation\n\n```sh\nnpm install --save isomorphic-crypto\n\n# using yarn:\n\nyarn add isomorphic-crypto\n```\n\n\n## Usage\n\nHave a look at the official [crypto documentation](https://nodejs.org/api/crypto.html).\n\nPlease be aware that the browser version of this library uses `crypto-browserify`, which is only a partial implementation of node's native `crypto` module. Check out [their documentation](https://www.npmjs.com/package/crypto-browserify) to see what is supported and what not.\n\n\n## Example\n\n```js\nconst crypto = require('isomorphic-crypto')\n\nfunction sha512 (string) {\n  const hash = crypto.createHash('sha512')\n  hash.write(string)\n  return hash.digest('hex')\n}\n\nconsole.log(`sha512('crypto rocks') = ${sha512('crypto rocks')}`)\n```\n\n\n## Versioning\n\nThe library's major version matches the major version of the [crypto-browserify](https://www.npmjs.com/package/crypto-browserify) package. The minor and patch version can be bumped independently.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandywer%2Fisomorphic-crypto","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandywer%2Fisomorphic-crypto","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandywer%2Fisomorphic-crypto/lists"}