instance method
Integer#to_bn
to_bn
ext/openssl/lib/openssl/bn.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/ext/openssl/lib/openssl/bn.rb, line 37
def to_bn
OpenSSL::BN::new(self)
end
Casts an Integer as an OpenSSL::BN
See ‘man bn` for more info.