{"id":28249763,"url":"https://github.com/honwhy/sm4-sdk","last_synced_at":"2026-02-28T03:39:18.907Z","repository":{"id":256227472,"uuid":"854660455","full_name":"honwhy/sm4-sdk","owner":"honwhy","description":"sm4-sdk for keeping the key inside the wasm.","archived":false,"fork":false,"pushed_at":"2025-02-01T13:55:21.000Z","size":15,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-13T23:34:33.103Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","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/honwhy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE_MIT","code_of_conduct":null,"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}},"created_at":"2024-09-09T15:03:22.000Z","updated_at":"2025-04-30T05:45:59.000Z","dependencies_parsed_at":"2024-09-09T18:35:43.442Z","dependency_job_id":"41b5bfc1-a42f-40ec-9f56-220312c2881e","html_url":"https://github.com/honwhy/sm4-sdk","commit_stats":null,"previous_names":["honwhy/sm4-sdk"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/honwhy/sm4-sdk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/honwhy%2Fsm4-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/honwhy%2Fsm4-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/honwhy%2Fsm4-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/honwhy%2Fsm4-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/honwhy","download_url":"https://codeload.github.com/honwhy/sm4-sdk/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/honwhy%2Fsm4-sdk/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29924273,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-27T19:37:42.220Z","status":"online","status_checked_at":"2026-02-28T02:00:07.010Z","response_time":90,"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":[],"created_at":"2025-05-19T13:15:52.401Z","updated_at":"2026-02-28T03:39:18.901Z","avatar_url":"https://github.com/honwhy.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n  \u003ch1 style=\"line-height: 40px; vertical-align: bottom; display: inline-flex; align-items: center;\"\u003e\u003cimg src=\"logo.svg\" width=\"40\"/\u003e\u003ccode\u003esm4-sdk\u003c/code\u003e\u003c/h1\u003e\n\n  \u003cstrong\u003esm4-sdk for keeping the key inside the wasm.\u003c/strong\u003e\n\n  \u003csub\u003eBuilt with 🦀🕸 by \u003ca href=\"https://rustwasm.github.io/\"\u003eThe Rust and WebAssembly Working Group\u003c/a\u003e\u003c/sub\u003e\n\u003c/div\u003e\n\n## 🚴 Usage\n\n### 🐑 Get releases from this project and use in your project\n\n\n\n### 🛠️ Clone this project and build with `wasm-pack build`\n\n```\ngit clone https://github.com/honwhy/sm4-sdk.git\nwasm-pack build --target web\n```\n\nfor windows, set default host to `x86_64-pc-windows-msvc` which may save you some time.\n\n### 🔬 Test in Headless Browsers with `wasm-pack test`\n\n```\nwasm-pack test --firefox\n# or\nwasm-pack test --headless --chrome\n```\n\n### 🔥 Run demo html with wasm\n\n```\npython -m http.server 8080\n```\nopen `http://localhost:8000/example.html` in your browser.\n\n### 🎁 Publish to NPM with `wasm-pack publish`\n\n```\nwasm-pack publish\n```\n\n## 🔋 Batteries Included\n\n* [`wasm-bindgen`](https://github.com/rustwasm/wasm-bindgen) for communicating\n  between WebAssembly and JavaScript.\n* [`console_error_panic_hook`](https://github.com/rustwasm/console_error_panic_hook)\n  for logging panic messages to the developer console.\n\n## 🫛 Insider\n\nthis sm4-sdk use SM4 algorithm with PKCS5Padding padding mode.\n\n## License\n\nLicensed under [LICENSE-MIT]( http://opensource.org/licenses/MIT)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhonwhy%2Fsm4-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhonwhy%2Fsm4-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhonwhy%2Fsm4-sdk/lists"}