On this page
End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
class · Ruby 3.0
OpenSSL::BN
Class methods 2
Instance methods 46
#%
#*
#**
#+
#+@
#-
#-@
#/
#<<
#<=>
#==
#===
#>>
#bit_set?
#clear_bit!
#cmp
#coerce
#copy
#eql?
#gcd
#hash
#initialize_copy
#lshift!
#mod_add
#mod_exp
#mod_inverse
#mod_mul
#mod_sqr
#mod_sub
#negative?
#num_bits
#num_bytes
#odd?
#one?
#pretty_print
#prime?
#prime_fasttest?
#rshift!
#set_bit!
#sqr
#to_bn
#to_i
#to_int
#to_s
#ucmp
#zero?