{"id":93827,"library":"paragonie-random-lib","title":"Paragonie RandomLib","description":"A library for generating secure random numbers.","status":"active","version":"2.0.3","language":"php","source_language":null,"source_url":"https://github.com/paragonie/RandomLib","tags":["random","security","crypto","paragonie"],"install":[{"cmd":"composer require paragonie/random-lib","lang":"bash","label":"composer require"}],"dependencies":[],"imports":[{"symbol":"Factory","correct":"use ParagonIE\\RandomLib\\Factory;"}],"quickstart":{"code":"use ParagonIE\\RandomLib\\Factory;\n\n$factory = new Factory;\n$generator = $factory->getMediumStrengthGenerator();\n$randomString = $generator->generateString(32);","lang":"php","description":"Generate a secure random string using the medium strength generator."},"warnings":[{"fix":"Ensure PHP version is 7.0 or higher, or install paragonie/random_compat.","message":"Requires PHP 7.0+ and the random_compat polyfill for older PHP versions.","severity":"breaking","affected_versions":"<2.0"}],"env_vars":null,"search_vec":"'crypto':12 'generat':6 'librari':4 'number':9 'paragoni':1,13 'random':8,10 'randomlib':2 'secur':7,11","created_at":"2026-06-19T09:56:44.390168+00:00","updated_at":"2026-06-19T09:56:44.390168+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/paragonie/RandomLib","docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["crypto"],"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}}