End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
class method
OpenSSL::Random.status?
status? => true | false
ext/openssl/ossl_rand.c
View on GitHub ↗
static VALUE
ossl_rand_status(VALUE self)
{
return RAND_status() ? Qtrue : Qfalse;
}
Return true if the PRNG has been seeded with enough data, false otherwise.