{"id":33001903,"url":"https://github.com/youngjuning/wxMD5","last_synced_at":"2025-11-16T07:00:48.097Z","repository":{"id":89684830,"uuid":"129751768","full_name":"youngjuning/wxMD5","owner":"youngjuning","description":":page_facing_up:基于 blueimp/JavaScript-MD5 的支持小程序的MD5加密库","archived":false,"fork":false,"pushed_at":"2018-05-13T03:45:13.000Z","size":12,"stargazers_count":45,"open_issues_count":0,"forks_count":25,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-05T00:54:11.292Z","etag":null,"topics":["md5","miniapp","weixin"],"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/youngjuning.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-04-16T13:56:57.000Z","updated_at":"2024-12-24T09:18:04.000Z","dependencies_parsed_at":"2024-01-06T23:54:38.300Z","dependency_job_id":"274d3a0c-d83c-4767-8b1f-46c9bb098dcf","html_url":"https://github.com/youngjuning/wxMD5","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/youngjuning/wxMD5","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/youngjuning%2FwxMD5","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/youngjuning%2FwxMD5/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/youngjuning%2FwxMD5/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/youngjuning%2FwxMD5/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/youngjuning","download_url":"https://codeload.github.com/youngjuning/wxMD5/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/youngjuning%2FwxMD5/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":284672648,"owners_count":27044736,"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-11-16T02:00:05.974Z","response_time":65,"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":["md5","miniapp","weixin"],"created_at":"2025-11-13T14:00:24.545Z","updated_at":"2025-11-16T07:00:48.086Z","avatar_url":"https://github.com/youngjuning.png","language":"JavaScript","funding_links":[],"categories":["组件"],"sub_categories":[],"readme":"# wxMD5\n\n微信小程序 JavaScript MD5 实现。\n\n## 使用方法\n\n1. 下载 md5.js 到项目中\n2. 全局或局部引入：`import md5 from 'path/to/md5.js'`\n\n## API\n\n\u003e 大部分时候，你只会用到前两种。如果不确定第2到4种的用法，建议用第一种即可\n\n1. 给定一个字符串，计算得出它的 MD5 哈希值\n\n```js\nvar hash = md5('value') // \"2063c1608d6e0baf80249c42e2be5804\"\n```\n\n2. 给定一个字符串，计算得出它的 [HMAC-MD5](https://www.zhihu.com/question/19816240) 哈希值\n\n```js\nvar hash = md5(\"value\", \"key\") // \"01433efd5f16327ea4b31144572c67f6\"\n```\n\n3. Calculate the raw MD5 hash of a given string value\n\n```js\nvar hash = md5(\"value\", null, true)\n```\n\n4. Calculate the raw HMAC-MD5 hash of a given string value and key\n\n```js\nvar hash = md5(\"value\", \"key\", true)\n```\n\n## 感谢\n\nJavaScript-MD5 [![GitHub stars](https://img.shields.io/github/stars/blueimp/JavaScript-MD5.svg?style=social\u0026label=Stars)](https://github.com/blueimp/JavaScript-MD5)：JavaScript MD5 implementation. Compatible with server-side environments like node.js, module loaders like RequireJS and all web browsers. 官网：https://blueimp.github.io/JavaScript-MD5/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyoungjuning%2FwxMD5","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyoungjuning%2FwxMD5","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyoungjuning%2FwxMD5/lists"}