{"id":21611811,"url":"https://github.com/jthinking/hashes-node","last_synced_at":"2025-04-11T05:35:27.487Z","repository":{"id":65551025,"uuid":"586238741","full_name":"jthinking/hashes-node","owner":"jthinking","description":"Hashes utils for node.js based on RustCrypto and napi-rs.","archived":false,"fork":false,"pushed_at":"2023-01-08T12:44:22.000Z","size":907,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-02T14:54:02.712Z","etag":null,"topics":["belt-hash","blake2","blake3","fsb","gost94","groestl","md2","md4","md5","ripemd","sha1","sha2","sha3","shabal","sm3","streebog","tiger","whirlpoo"],"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/jthinking.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":"2023-01-07T12:42:46.000Z","updated_at":"2023-01-08T13:09:52.000Z","dependencies_parsed_at":"2023-02-08T06:00:39.459Z","dependency_job_id":null,"html_url":"https://github.com/jthinking/hashes-node","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jthinking%2Fhashes-node","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jthinking%2Fhashes-node/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jthinking%2Fhashes-node/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jthinking%2Fhashes-node/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jthinking","download_url":"https://codeload.github.com/jthinking/hashes-node/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248348671,"owners_count":21088895,"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":["belt-hash","blake2","blake3","fsb","gost94","groestl","md2","md4","md5","ripemd","sha1","sha2","sha3","shabal","sm3","streebog","tiger","whirlpoo"],"created_at":"2024-11-24T21:13:57.167Z","updated_at":"2025-04-11T05:35:27.442Z","avatar_url":"https://github.com/jthinking.png","language":"JavaScript","readme":"# hashes-node\r\n\r\nHashes utils for node.js based on [RustCrypto](https://github.com/RustCrypto/hashes) and [napi-rs](https://github.com/napi-rs/napi-rs).\r\n\r\n## Installing\r\n\r\n```\r\nnpm i @jthinking/hashes-node\r\n```\r\n\r\n## Usage\r\n\r\n```js\r\n// import hashes-node\r\nimport { md5, blake3, sm3 } = require('@jthinking/hashes-node')\r\n\r\n// convert data to Buffer\r\nconst buf = Buffer.from('123', 'UTF-8')\r\n\r\n// md5 hex\r\nconst md5Hex = md5(buf)\r\n\r\n// blake3 hex\r\nconst blake3Hex = blake3(buf)\r\n\r\n// sm3 hex\r\nconst sm3Hex = sm3(buf)\r\n\r\n// other algorithms\r\n// ...\r\n```\r\n\r\n## Supported Algorithms\r\n\r\n- md2\r\n- md4\r\n- md5\r\n- sha1\r\n- sha256 (sha2_256)\r\n- sha512 (sha2_512)\r\n- sha3_256\r\n- sha3_512\r\n- sm3\r\n- belt_hash\r\n- blake2s256\r\n- blake2b512\r\n- blake3\r\n- fsb512\r\n- fsb256\r\n- gost94\r\n- groestl256\r\n- groestl512\r\n- ripemd128\r\n- ripemd160\r\n- ripemd256\r\n- ripemd320\r\n- shabal192\r\n- shabal224\r\n- shabal256\r\n- shabal384\r\n- shabal512\r\n- streebog256\r\n- streebog512\r\n- tiger\r\n- tiger2\r\n- whirlpool\r\n\r\n## Supported Platforms\r\n\r\n- Windows x64\r\n- Windows arm64\r\n- macOS x64\r\n- macOS arm64\r\n- Linux x64\r\n- Linux arm64\r\n\r\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjthinking%2Fhashes-node","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjthinking%2Fhashes-node","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjthinking%2Fhashes-node/lists"}