{"id":87905,"library":"ircmaxell-random-lib","title":"RandomLib","description":"A library for generating secure random numbers and strings.","status":"active","version":"1.2.0","language":"php","source_language":null,"source_url":"https://github.com/ircmaxell/RandomLib","tags":["random","security","generator","cryptography"],"install":[{"cmd":"composer require ircmaxell/random-lib","lang":"bash","label":"composer require"}],"dependencies":[],"imports":[{"symbol":"Factory","correct":"use RandomLib\\Factory;"}],"quickstart":{"code":"use RandomLib\\Factory;\n\n$factory = new Factory;\n$generator = $factory->getMediumStrengthGenerator();\necho $generator->generateString(16, 'abcdef123456');","lang":"php","description":"Generate a random 16-character string using medium strength generator."},"warnings":[{"fix":"Use PHP's built-in random_bytes() or random_int() for modern applications.","message":"The library is no longer actively maintained; consider using random_bytes() or paragonie/random_compat.","severity":"gotcha","affected_versions":">=1.0.0"}],"env_vars":null,"search_vec":"'cryptographi':14 'generat':5,13 'librari':3 'number':8 'random':7,11 'randomlib':1 'secur':6,12 'string':10","created_at":"2026-06-19T08:24:35.172412+00:00","updated_at":"2026-06-19T08:24:35.172412+00:00","problems":[],"ecosystem":"packagist","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/ircmaxell/RandomLib","github":"https://github.com/ircmaxell/RandomLib","docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["crypto","utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-19","next_check":"2026-12-16","install_tag":null}}