{"id":40916603,"url":"https://github.com/abdellatif-temsamani/cryptjs","last_synced_at":"2026-01-22T03:16:07.718Z","repository":{"id":263511674,"uuid":"890640104","full_name":"abdellatif-temsamani/cryptjs","owner":"abdellatif-temsamani","description":"`cryptjs` is a JavaScript/TypeScript library that brings cryptographic functionality from Dart to the web","archived":false,"fork":false,"pushed_at":"2026-01-19T12:05:54.000Z","size":231,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-19T17:06:14.180Z","etag":null,"topics":["crypt-lib","cryptography","hash","javascript","password-hashing","security","sha-256","sha-512","sha512","typescript"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@abdellatif.dev/cryptjs?activeTab=readme","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/abdellatif-temsamani.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"abdellatif-temsamani","patreon":"Abdellatifdev","open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":["https://www.paypal.com/paypalme/abdellatifdevs"]}},"created_at":"2024-11-18T23:28:09.000Z","updated_at":"2026-01-19T12:02:16.000Z","dependencies_parsed_at":"2024-11-19T00:30:18.869Z","dependency_job_id":"3799c715-1f24-485f-b7c3-5c5dc2f123ba","html_url":"https://github.com/abdellatif-temsamani/cryptjs","commit_stats":null,"previous_names":["abdellatif-temsamani/cryptjs"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/abdellatif-temsamani/cryptjs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdellatif-temsamani%2Fcryptjs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdellatif-temsamani%2Fcryptjs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdellatif-temsamani%2Fcryptjs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdellatif-temsamani%2Fcryptjs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abdellatif-temsamani","download_url":"https://codeload.github.com/abdellatif-temsamani/cryptjs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdellatif-temsamani%2Fcryptjs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28652043,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T01:17:37.254Z","status":"online","status_checked_at":"2026-01-22T02:00:07.137Z","response_time":144,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["crypt-lib","cryptography","hash","javascript","password-hashing","security","sha-256","sha-512","sha512","typescript"],"created_at":"2026-01-22T03:16:07.630Z","updated_at":"2026-01-22T03:16:07.710Z","avatar_url":"https://github.com/abdellatif-temsamani.png","language":"JavaScript","funding_links":["https://github.com/sponsors/abdellatif-temsamani","https://patreon.com/Abdellatifdev","https://www.paypal.com/paypalme/abdellatifdevs"],"categories":[],"sub_categories":[],"readme":"[![NPMJS](https://img.shields.io/npm/v/%40abdellatif.dev%2Fcryptjs)](https://www.npmjs.com/package/@abdellatif.dev/cryptjs?activeTab=readme)\n[![Run Tests](https://github.com/abdellatif-temsamani/cryptjs/actions/workflows/test.yml/badge.svg)](https://github.com/abdellatif-temsamani/cryptjs/actions/workflows/test.yml)\n![Status: Alpha](https://img.shields.io/badge/Status-Alpha-orange)\n\n\u003e ⚠️ **IMPORTANT NOTICE:**\\\n\u003e **Israeli users are strictly prohibited from using this project.**\\\n\u003e **FREE PALESTINE.**\n\u003e\n\u003e This restriction is imposed as a clear and urgent protest against the ongoing\n\u003e occupation, violence, and human rights violations committed by the Israeli\n\u003e state against the Palestinian people.\\\n\u003e By banning usage in Israel, this project stands in solidarity with Palestine\n\u003e and calls for justice, freedom, and an end to oppression.\n\n# Cryptjs\n\n`cryptjs` is a JavaScript/TypeScript library that brings cryptographic\nfunctionality from Dart to the web. It is a port of Dart's cryptography\nlibraries, allowing you to perform various cryptographic operations such as\nhashing, encryption, and decryption, all within your JavaScript/TypeScript\nprojects.\n\n## Features\n\n- **Hashing:** SHA-256, SHA-512.\n- **Ported from Dart:** Brings Dart's reliable cryptography to\n  JavaScript/TypeScript\n\n## Installation\n\n### Using pnpm\n\n```bash\npnpm install @abdellatif.dev/cryptjs\n```\n\n### Using npm\n\n```bash\nnpm install @abdellatif.dev/cryptjs\n```\n\n### Using yarn\n\n```bash\nyarn add @abdellatif.dev/cryptjs\n```\n\n## Usage\n\nOnce installed, you can import and use `cryptjs` in your JavaScript/TypeScript\ncode.\n\n### JavaScript\n\n```js\nimport { sha256, sha512 } from \"@abdellatif.dev/cryptjs\";\n\nconst message = \"Hello, world!\";\nconst salt = \"Salt\";\n\n// Simple usage\nconst hash1 = sha256(message);\nconsole.log(\"SHA-256 Hash:\", hash1.toString());\n\n// Usage with salt and rounds\nconst hash2 = sha512(message, { salt: salt, rounds: 5000 });\nconsole.log(\"SHA-512 Hash:\", hash2.toString());\n\n// you can also get the hash, and salt values\nconsole.log(\"SHA-512 Hash:\", hash2.hash);\nconsole.log(\"SHA-512 salt:\", hash2.salt);\n```\n\n### TypeScript\n\n```ts\nimport { Sha, sha256, sha512 } from \"@abdellatif.dev/cryptjs\";\n\nconst message: string = \"Hello, world!\";\nconst salt: string = \"Salt\";\n\n// Simple usage\nconst hash1: Sha = sha256(message);\nconsole.log(\"SHA-256 Hash:\", hash1.toString());\n\n// Usage with salt and rounds\nconst hash2: Sha = sha512(message, { salt: salt, rounds: 5000 });\nconsole.log(\"SHA-512 Hash:\", hash2.toString());\n\n// you can also get the hash, and salt values\nconsole.log(\"SHA-512 Hash:\", hash2.hash);\nconsole.log(\"SHA-512 salt:\", hash2.salt);\n```\n\n## Contributing\n\nFor contributing, please see [CONTRIBUTING.md](CONTRIBUTING.md).\n\n## License\n\n`cryptjs` is open source software, licensed under the MIT License. See the\n[LICENSE](LICENSE) file for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabdellatif-temsamani%2Fcryptjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabdellatif-temsamani%2Fcryptjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabdellatif-temsamani%2Fcryptjs/lists"}