{"adoption": {"forks": 287, "observed_at": "2026-08-28T04:03:48.984545+00:00", "stars": 1159}, "canonical_url": "https://ross.abutalabs.com/products/sm-crypto", "card": {"archived": false, "artifact_type": "library", "description": "国密算法js版", "domain": ["security", "developer-tools", "web-development"], "enriched": true, "function": ["cryptography", "security"], "health_score": 80, "homepage": null, "language": "JavaScript", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["JuneAndGreen/sm-crypto"], "name": "JuneAndGreen/sm-crypto", "platform": ["browser"], "pushed_at": "2026-08-24T03:58:54+00:00", "repo": "JuneAndGreen/sm-crypto", "stars": 1159, "tags": ["sm2", "sm3", "sm4", "chinese-national-cryptography", "elliptic-curve", "encryption", "digital-signature", "hash", "nodejs", "javascript"], "topics": [], "urls": [], "use_cases": ["implement sm2 encryption and decryption in javascript", "generate sm2 key pairs and sign/verify data in the browser", "compute sm3 hash of a string in nodejs", "encrypt data with sm4 block cipher in js", "integrate chinese national standard cryptography into a web app", "verify signatures from a backend that uses guomi algorithms"], "what_it_is": "A pure JavaScript implementation of the Chinese national cryptography (Guomi) algorithms SM2 (elliptic curve encryption/signatures), SM3 (hash), and SM4 (block cipher). It runs in Node.js and browsers via npm.", "when_to_avoid": ["you need general-purpose cryptography like RSA, AES, or SHA-2", "you require formally audited or FIPS-certified crypto implementations", "you need constant-time guarantees against side-channel attacks in hostile environments"], "when_to_choose": ["you need SM2/SM3/SM4 in JavaScript with no native dependencies", "you must interoperate with Chinese government or financial systems requiring Guomi algorithms", "you want a lightweight, MIT-licensed crypto library usable in both browser and Node.js"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/sm-crypto", "repo": "JuneAndGreen/sm-crypto", "role": "main", "score": 77}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:03:48.984545+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T06:31:51.537467+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "73eadb0c5f0e0ac0a787414115af90723612f4c15c7cd6280dc69efea85d2b1d", "fetched_at": "2026-08-28T04:03:48.984545+00:00", "kind": "readme", "missing": false, "url": "https://github.com/JuneAndGreen/sm-crypto"}, {"content_hash": "5d0845a42b1a9422db62dcb74dcf6b8a2ef62103d5f1a9072a4d3af3974c00e9", "fetched_at": "2026-08-29T12:36:41.528748+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/sm-crypto"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:03:48.984545+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T06:31:51.537467+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "73eadb0c5f0e0ac0a787414115af90723612f4c15c7cd6280dc69efea85d2b1d", "fetched_at": "2026-08-28T04:03:48.984545+00:00", "kind": "readme", "missing": false, "url": "https://github.com/JuneAndGreen/sm-crypto"}, {"content_hash": "5d0845a42b1a9422db62dcb74dcf6b8a2ef62103d5f1a9072a4d3af3974c00e9", "fetched_at": "2026-08-29T12:36:41.528748+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/sm-crypto"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T06:31:51.537467+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "73eadb0c5f0e0ac0a787414115af90723612f4c15c7cd6280dc69efea85d2b1d", "fetched_at": "2026-08-28T04:03:48.984545+00:00", "kind": "readme", "missing": false, "url": "https://github.com/JuneAndGreen/sm-crypto"}, {"content_hash": "5d0845a42b1a9422db62dcb74dcf6b8a2ef62103d5f1a9072a4d3af3974c00e9", "fetched_at": "2026-08-29T12:36:41.528748+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/sm-crypto"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:03:48.984545+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:03:48.984545+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:03:48.984545+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T06:31:51.537467+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "73eadb0c5f0e0ac0a787414115af90723612f4c15c7cd6280dc69efea85d2b1d", "fetched_at": "2026-08-28T04:03:48.984545+00:00", "kind": "readme", "missing": false, "url": "https://github.com/JuneAndGreen/sm-crypto"}, {"content_hash": "5d0845a42b1a9422db62dcb74dcf6b8a2ef62103d5f1a9072a4d3af3974c00e9", "fetched_at": "2026-08-29T12:36:41.528748+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/sm-crypto"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:03:48.984545+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:03:48.984545+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T06:31:51.537467+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "73eadb0c5f0e0ac0a787414115af90723612f4c15c7cd6280dc69efea85d2b1d", "fetched_at": "2026-08-28T04:03:48.984545+00:00", "kind": "readme", "missing": false, "url": "https://github.com/JuneAndGreen/sm-crypto"}, {"content_hash": "5d0845a42b1a9422db62dcb74dcf6b8a2ef62103d5f1a9072a4d3af3974c00e9", "fetched_at": "2026-08-29T12:36:41.528748+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/sm-crypto"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:03:48.984545+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:03:48.984545+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:03:48.984545+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T06:31:51.537467+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "73eadb0c5f0e0ac0a787414115af90723612f4c15c7cd6280dc69efea85d2b1d", "fetched_at": "2026-08-28T04:03:48.984545+00:00", "kind": "readme", "missing": false, "url": "https://github.com/JuneAndGreen/sm-crypto"}, {"content_hash": "5d0845a42b1a9422db62dcb74dcf6b8a2ef62103d5f1a9072a4d3af3974c00e9", "fetched_at": "2026-08-29T12:36:41.528748+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/sm-crypto"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:03:48.984545+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:03:48.984545+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T06:31:51.537467+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "73eadb0c5f0e0ac0a787414115af90723612f4c15c7cd6280dc69efea85d2b1d", "fetched_at": "2026-08-28T04:03:48.984545+00:00", "kind": "readme", "missing": false, "url": "https://github.com/JuneAndGreen/sm-crypto"}, {"content_hash": "5d0845a42b1a9422db62dcb74dcf6b8a2ef62103d5f1a9072a4d3af3974c00e9", "fetched_at": "2026-08-29T12:36:41.528748+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/sm-crypto"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T06:31:51.537467+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "73eadb0c5f0e0ac0a787414115af90723612f4c15c7cd6280dc69efea85d2b1d", "fetched_at": "2026-08-28T04:03:48.984545+00:00", "kind": "readme", "missing": false, "url": "https://github.com/JuneAndGreen/sm-crypto"}, {"content_hash": "5d0845a42b1a9422db62dcb74dcf6b8a2ef62103d5f1a9072a4d3af3974c00e9", "fetched_at": "2026-08-29T12:36:41.528748+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/sm-crypto"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T06:31:51.537467+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "73eadb0c5f0e0ac0a787414115af90723612f4c15c7cd6280dc69efea85d2b1d", "fetched_at": "2026-08-28T04:03:48.984545+00:00", "kind": "readme", "missing": false, "url": "https://github.com/JuneAndGreen/sm-crypto"}, {"content_hash": "5d0845a42b1a9422db62dcb74dcf6b8a2ef62103d5f1a9072a4d3af3974c00e9", "fetched_at": "2026-08-29T12:36:41.528748+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/sm-crypto"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T06:31:51.537467+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "73eadb0c5f0e0ac0a787414115af90723612f4c15c7cd6280dc69efea85d2b1d", "fetched_at": "2026-08-28T04:03:48.984545+00:00", "kind": "readme", "missing": false, "url": "https://github.com/JuneAndGreen/sm-crypto"}, {"content_hash": "5d0845a42b1a9422db62dcb74dcf6b8a2ef62103d5f1a9072a4d3af3974c00e9", "fetched_at": "2026-08-29T12:36:41.528748+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/sm-crypto"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 99, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": ["no_releases"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3140, "days_push": 9, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 77, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}