{"id":17087868,"url":"https://github.com/geraintluff/sha256","last_synced_at":"2025-04-12T21:10:55.577Z","repository":{"id":21078444,"uuid":"24378113","full_name":"geraintluff/sha256","owner":"geraintluff","description":"SHA-256 in JavaScript, in less than a kilobyte","archived":false,"fork":false,"pushed_at":"2019-02-13T02:12:31.000Z","size":216,"stargazers_count":33,"open_issues_count":3,"forks_count":13,"subscribers_count":1,"default_branch":"gh-pages","last_synced_at":"2025-03-26T15:21:13.281Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://geraintluff.github.io/sha256/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/geraintluff.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-09-23T15:49:24.000Z","updated_at":"2025-02-10T15:28:05.000Z","dependencies_parsed_at":"2022-08-02T10:40:41.660Z","dependency_job_id":null,"html_url":"https://github.com/geraintluff/sha256","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/geraintluff%2Fsha256","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geraintluff%2Fsha256/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geraintluff%2Fsha256/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geraintluff%2Fsha256/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/geraintluff","download_url":"https://codeload.github.com/geraintluff/sha256/tar.gz/refs/heads/gh-pages","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248631676,"owners_count":21136562,"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-14T13:35:13.592Z","updated_at":"2025-04-12T21:10:55.547Z","avatar_url":"https://github.com/geraintluff.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# A small SHA-256 implementation for JavaScript\n\nThe goals of this project are:\n* small size  - the minified version is only 849 bytes\n* readability - the unminified code should be relatively easy to understand/review\n\nInput must be an ASCII string - if character codes outside the range 0-255 are received, `undefined` is returned.\n\n## In the browser\n\nThe code (`sha256.js` or `sha256.min.js`) defines the `sha256(string)` function, which returns the hexadecimal-encoded SHA-256 hash of the input string.\n\nAMD is also supported - use `index.js` instead.\n\n## In Node/CommonJS\n\nIf you're on Node, you should probably use the version from the built-in [`crypto` module](http://nodejs.org/api/crypto.html#crypto_crypto_createhash_algorithm).\n\nHowever, it is made available as a CommonJS module, including the source code for the minified version:\n\n```javascript\nvar sha256 = require('tiny-sha256');\n\nvar jsCode = sha256.code + 'alert(sha256(\"hello!\"));';\n```\n\n## License\n\nThis library is released as \"public domain\".  You can copy, modify, re-release and re-license, or incorporate into any other project without restriction of any kind.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeraintluff%2Fsha256","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeraintluff%2Fsha256","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeraintluff%2Fsha256/lists"}