{"id":31074105,"url":"https://github.com/li0ard/bash","last_synced_at":"2026-01-20T16:55:27.690Z","repository":{"id":314270474,"uuid":"1053590961","full_name":"li0ard/bash","owner":"li0ard","description":"Bash (STB 34.101.77) hash function in pure TypeScript","archived":false,"fork":false,"pushed_at":"2025-09-09T16:57:17.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-11T14:54:07.455Z","etag":null,"topics":["bash","crypto","stb","stb3410177"],"latest_commit_sha":null,"homepage":"https://li0ard.is-cool.dev/bash","language":"TypeScript","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/li0ard.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":"CITATION.cff","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}},"created_at":"2025-09-09T16:51:50.000Z","updated_at":"2025-09-09T16:56:47.000Z","dependencies_parsed_at":"2025-09-11T14:54:11.025Z","dependency_job_id":"4dff37bb-9b5e-410a-88a3-e8d29077f7ae","html_url":"https://github.com/li0ard/bash","commit_stats":null,"previous_names":["li0ard/bash"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/li0ard/bash","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/li0ard%2Fbash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/li0ard%2Fbash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/li0ard%2Fbash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/li0ard%2Fbash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/li0ard","download_url":"https://codeload.github.com/li0ard/bash/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/li0ard%2Fbash/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275033530,"owners_count":25393880,"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","status":"online","status_checked_at":"2025-09-13T02:00:10.085Z","response_time":70,"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":["bash","crypto","stb","stb3410177"],"created_at":"2025-09-16T02:02:38.308Z","updated_at":"2025-09-16T02:03:20.965Z","avatar_url":"https://github.com/li0ard.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003cb\u003e@li0ard/bash\u003c/b\u003e\u003cbr\u003e\n    \u003cb\u003eBash (STB 34.101.77) hash function in pure TypeScript\u003c/b\u003e\n    \u003cbr\u003e\n    \u003ca href=\"https://li0ard.is-cool.dev/bash\"\u003edocs\u003c/a\u003e\n    \u003cbr\u003e\u003cbr\u003e\n    \u003ca href=\"https://github.com/li0ard/bash/actions/workflows/test.yml\"\u003e\u003cimg src=\"https://github.com/li0ard/bash/actions/workflows/test.yml/badge.svg\" /\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/li0ard/bash/blob/main/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/github/license/li0ard/bash\" /\u003e\u003c/a\u003e\n    \u003cbr\u003e\n    \u003ca href=\"https://npmjs.com/package/@li0ard/bash\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/@li0ard/bash\" /\u003e\u003c/a\u003e\n    \u003ca href=\"https://jsr.io/@li0ard/bash\"\u003e\u003cimg src=\"https://jsr.io/badges/@li0ard/bash\" /\u003e\u003c/a\u003e\n    \u003cbr\u003e\n    \u003chr\u003e\n\u003c/p\u003e\n\n## Installation\n\n```bash\n# from NPM\nnpm i @li0ard/bash\n\n# from JSR\nbunx jsr i @li0ard/bash\n```\n\n## Supported modes\n- [x] BASH.HASH128 (256 bit)\n- [x] BASH.HASH192 (384 bit)\n- [x] BASH.HASH256 (512 bit)\n- [x] Programmable automatons (bash-prg)\n\n## Features\n- Provides simple and modern API\n- Most of the APIs are strictly typed\n- Fully complies with [STB 34.101.77-2020 (in Russian)](https://apmi.bsu.by/assets/files/std/bash-spec24.pdf) standard\n- Supports Bun, Node.js, Deno, Browsers\n\n## Examples\n\n```ts\nimport { Bash } from \"@li0ard/bash\"\n\nlet hash = new Bash(32)\nhash.update(new TextEncoder().encode(\"hello world\"))\nconsole.log(hash.digest())\n\n// -- OR --\n\nimport { bash256 } from \"@li0ard/bash\"\n\nconsole.log(bash256(new TextEncoder().encode(\"hello world\")))\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fli0ard%2Fbash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fli0ard%2Fbash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fli0ard%2Fbash/lists"}