Support for the Ruby 2.4 series has ended. See here for reference.

In Files

  • openssl/lib/openssl/bn.rb

Parent

Methods

Class/Module Index [+]

Quicksearch

Integer

Add double dispatch to Integer

Public Instance Methods

to_bn() click to toggle source

Casts an Integer as an OpenSSL::BN

See `man bn` for more info.

 
               # File openssl/lib/openssl/bn.rb, line 36
def to_bn
  OpenSSL::BN::new(self)
end