Method: OpenPGP::Engine::OpenSSL::Random#number
- Defined in:
- lib/openpgp/engine/openssl.rb
#number(bits = 32, options = {}) ⇒ Object
14 15 16 |
# File 'lib/openpgp/engine/openssl.rb', line 14 def number(bits = 32, = {}) ::OpenSSL::BN.rand(bits) end |