class method
OpenSSL::Random.status?
() -> bool
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.