libtrng
« Back to VersTracker
Description:
Tina's Random Number Generator Library
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: c-plus-plus random-number-generator library scientific-computing mathematics
Install: brew install libtrng
About:
TRNG is a C++ library for generating high-quality random numbers. It provides various entropy sources and advanced distribution transformers. Its primary value is enabling robust Monte Carlo simulations and other stochastic applications requiring statistically sound randomness.
Key Features:
  • Multiple entropy sources (hardware, system, etc.)
  • Advanced parallel random number generators
  • C++11 compliant and easy to integrate
  • Extensive statistical tests included
Use Cases:
  • Monte Carlo simulations in scientific computing
  • Statistical sampling and analysis
  • Cryptographic protocol testing
Alternatives:
  • GSL – GSL includes random number generators but is a broader numerical library, whereas TRNG is specialized for PRNGs.
  • Boost.Random – Boost.Random is a standard part of the Boost ecosystem, while TRNG offers specific high-performance parallel generators.
Version History
Detected Version Rev Change Commit
Sep 16, 2025 10:41am 0 VERSION_BUMP e273153a
Sep 13, 2024 2:31pm 0 VERSION_BUMP f8046cb3