{"adoption": {"forks": 153, "observed_at": "2026-08-28T04:10:13.907087+00:00", "stars": 8154}, "canonical_url": "https://ross.abutalabs.com/products/random_compat", "card": {"archived": false, "artifact_type": "library", "description": "PHP 5.x support for random_bytes() and random_int()", "domain": ["security", "developer-tools", "programming-languages"], "enriched": true, "function": ["cryptography", "security", "sdk"], "health_score": 61, "homepage": "https://paragonie.com/projects", "language": "PHP", "license": "MIT", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["paragonie/random_compat"], "name": "paragonie/random_compat", "platform": ["php"], "pushed_at": "2026-02-23T16:45:02+00:00", "repo": "paragonie/random_compat", "stars": 8154, "tags": ["polyfill", "csprng", "random-bytes", "random-int", "php5", "secure-by-default"], "topics": ["php", "php5", "secure", "secure-by-default", "random", "random-bytes", "csprng", "randomness", "random-int", "polyfill", "random-generation", "randomization"], "urls": [], "use_cases": ["generate cryptographically secure random bytes in php 5", "polyfill random_int for older php versions", "secure random token generation in legacy php apps", "support php 5 in a library that uses php 7 random functions", "avoid insecure mt_rand for randomness"], "what_it_is": "A PHP 5.x polyfill providing the random_bytes() and random_int() CSPRNG functions that were introduced in PHP 7. It fails with an exception rather than falling back to insecure randomness, making it secure-by-default.", "when_to_avoid": ["you are on PHP 7 or newer, where random_bytes() and random_int() are built in", "you need general-purpose randomness rather than cryptographic randomness"], "when_to_choose": ["you maintain a library or app that must support PHP 5.x and needs CSPRNG randomness", "you want a drop-in polyfill that never falls back to insecure random data"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/random_compat", "repo": "paragonie/random_compat", "role": "main", "score": 54}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:10:13.907087+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T17:29:46.093509+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b374ce6a5541925a15ff6504ccf446854c61e31e5a8360cedd3472d569750a87", "fetched_at": "2026-08-28T04:10:13.907087+00:00", "kind": "readme", "missing": false, "url": "https://github.com/paragonie/random_compat"}, {"content_hash": "cc0dd24801994590fbd56fee90f605cfed1cf9a5861e5bb1f9585e6568d4ae7a", "fetched_at": "2026-08-29T08:28:29.233329+00:00", "kind": "homepage", "missing": false, "url": "https://paragonie.com/projects"}, {"content_hash": "2b4c8084191a119fdcccf18206c91bd33eb042259bdc2b5f3b39993b29a5025d", "fetched_at": "2026-08-29T08:28:29.236911+00:00", "kind": "site_page", "missing": false, "url": "https://paragonie.com/info"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:10:13.907087+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T17:29:46.093509+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b374ce6a5541925a15ff6504ccf446854c61e31e5a8360cedd3472d569750a87", "fetched_at": "2026-08-28T04:10:13.907087+00:00", "kind": "readme", "missing": false, "url": "https://github.com/paragonie/random_compat"}, {"content_hash": "cc0dd24801994590fbd56fee90f605cfed1cf9a5861e5bb1f9585e6568d4ae7a", "fetched_at": "2026-08-29T08:28:29.233329+00:00", "kind": "homepage", "missing": false, "url": "https://paragonie.com/projects"}, {"content_hash": "2b4c8084191a119fdcccf18206c91bd33eb042259bdc2b5f3b39993b29a5025d", "fetched_at": "2026-08-29T08:28:29.236911+00:00", "kind": "site_page", "missing": false, "url": "https://paragonie.com/info"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T17:29:46.093509+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b374ce6a5541925a15ff6504ccf446854c61e31e5a8360cedd3472d569750a87", "fetched_at": "2026-08-28T04:10:13.907087+00:00", "kind": "readme", "missing": false, "url": "https://github.com/paragonie/random_compat"}, {"content_hash": "cc0dd24801994590fbd56fee90f605cfed1cf9a5861e5bb1f9585e6568d4ae7a", "fetched_at": "2026-08-29T08:28:29.233329+00:00", "kind": "homepage", "missing": false, "url": "https://paragonie.com/projects"}, {"content_hash": "2b4c8084191a119fdcccf18206c91bd33eb042259bdc2b5f3b39993b29a5025d", "fetched_at": "2026-08-29T08:28:29.236911+00:00", "kind": "site_page", "missing": false, "url": "https://paragonie.com/info"}], "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:10:13.907087+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:10:13.907087+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:10:13.907087+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T17:29:46.093509+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b374ce6a5541925a15ff6504ccf446854c61e31e5a8360cedd3472d569750a87", "fetched_at": "2026-08-28T04:10:13.907087+00:00", "kind": "readme", "missing": false, "url": "https://github.com/paragonie/random_compat"}, {"content_hash": "cc0dd24801994590fbd56fee90f605cfed1cf9a5861e5bb1f9585e6568d4ae7a", "fetched_at": "2026-08-29T08:28:29.233329+00:00", "kind": "homepage", "missing": false, "url": "https://paragonie.com/projects"}, {"content_hash": "2b4c8084191a119fdcccf18206c91bd33eb042259bdc2b5f3b39993b29a5025d", "fetched_at": "2026-08-29T08:28:29.236911+00:00", "kind": "site_page", "missing": false, "url": "https://paragonie.com/info"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:10:13.907087+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:10:13.907087+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T17:29:46.093509+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b374ce6a5541925a15ff6504ccf446854c61e31e5a8360cedd3472d569750a87", "fetched_at": "2026-08-28T04:10:13.907087+00:00", "kind": "readme", "missing": false, "url": "https://github.com/paragonie/random_compat"}, {"content_hash": "cc0dd24801994590fbd56fee90f605cfed1cf9a5861e5bb1f9585e6568d4ae7a", "fetched_at": "2026-08-29T08:28:29.233329+00:00", "kind": "homepage", "missing": false, "url": "https://paragonie.com/projects"}, {"content_hash": "2b4c8084191a119fdcccf18206c91bd33eb042259bdc2b5f3b39993b29a5025d", "fetched_at": "2026-08-29T08:28:29.236911+00:00", "kind": "site_page", "missing": false, "url": "https://paragonie.com/info"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:10:13.907087+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:10:13.907087+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:10:13.907087+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T17:29:46.093509+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b374ce6a5541925a15ff6504ccf446854c61e31e5a8360cedd3472d569750a87", "fetched_at": "2026-08-28T04:10:13.907087+00:00", "kind": "readme", "missing": false, "url": "https://github.com/paragonie/random_compat"}, {"content_hash": "cc0dd24801994590fbd56fee90f605cfed1cf9a5861e5bb1f9585e6568d4ae7a", "fetched_at": "2026-08-29T08:28:29.233329+00:00", "kind": "homepage", "missing": false, "url": "https://paragonie.com/projects"}, {"content_hash": "2b4c8084191a119fdcccf18206c91bd33eb042259bdc2b5f3b39993b29a5025d", "fetched_at": "2026-08-29T08:28:29.236911+00:00", "kind": "site_page", "missing": false, "url": "https://paragonie.com/info"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:10:13.907087+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:10:13.907087+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T17:29:46.093509+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b374ce6a5541925a15ff6504ccf446854c61e31e5a8360cedd3472d569750a87", "fetched_at": "2026-08-28T04:10:13.907087+00:00", "kind": "readme", "missing": false, "url": "https://github.com/paragonie/random_compat"}, {"content_hash": "cc0dd24801994590fbd56fee90f605cfed1cf9a5861e5bb1f9585e6568d4ae7a", "fetched_at": "2026-08-29T08:28:29.233329+00:00", "kind": "homepage", "missing": false, "url": "https://paragonie.com/projects"}, {"content_hash": "2b4c8084191a119fdcccf18206c91bd33eb042259bdc2b5f3b39993b29a5025d", "fetched_at": "2026-08-29T08:28:29.236911+00:00", "kind": "site_page", "missing": false, "url": "https://paragonie.com/info"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T17:29:46.093509+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b374ce6a5541925a15ff6504ccf446854c61e31e5a8360cedd3472d569750a87", "fetched_at": "2026-08-28T04:10:13.907087+00:00", "kind": "readme", "missing": false, "url": "https://github.com/paragonie/random_compat"}, {"content_hash": "cc0dd24801994590fbd56fee90f605cfed1cf9a5861e5bb1f9585e6568d4ae7a", "fetched_at": "2026-08-29T08:28:29.233329+00:00", "kind": "homepage", "missing": false, "url": "https://paragonie.com/projects"}, {"content_hash": "2b4c8084191a119fdcccf18206c91bd33eb042259bdc2b5f3b39993b29a5025d", "fetched_at": "2026-08-29T08:28:29.236911+00:00", "kind": "site_page", "missing": false, "url": "https://paragonie.com/info"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T17:29:46.093509+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b374ce6a5541925a15ff6504ccf446854c61e31e5a8360cedd3472d569750a87", "fetched_at": "2026-08-28T04:10:13.907087+00:00", "kind": "readme", "missing": false, "url": "https://github.com/paragonie/random_compat"}, {"content_hash": "cc0dd24801994590fbd56fee90f605cfed1cf9a5861e5bb1f9585e6568d4ae7a", "fetched_at": "2026-08-29T08:28:29.233329+00:00", "kind": "homepage", "missing": false, "url": "https://paragonie.com/projects"}, {"content_hash": "2b4c8084191a119fdcccf18206c91bd33eb042259bdc2b5f3b39993b29a5025d", "fetched_at": "2026-08-29T08:28:29.236911+00:00", "kind": "site_page", "missing": false, "url": "https://paragonie.com/info"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T17:29:46.093509+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b374ce6a5541925a15ff6504ccf446854c61e31e5a8360cedd3472d569750a87", "fetched_at": "2026-08-28T04:10:13.907087+00:00", "kind": "readme", "missing": false, "url": "https://github.com/paragonie/random_compat"}, {"content_hash": "cc0dd24801994590fbd56fee90f605cfed1cf9a5861e5bb1f9585e6568d4ae7a", "fetched_at": "2026-08-29T08:28:29.233329+00:00", "kind": "homepage", "missing": false, "url": "https://paragonie.com/projects"}, {"content_hash": "2b4c8084191a119fdcccf18206c91bd33eb042259bdc2b5f3b39993b29a5025d", "fetched_at": "2026-08-29T08:28:29.236911+00:00", "kind": "site_page", "missing": false, "url": "https://paragonie.com/info"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 69, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4075, "days_push": 191, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 54, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}