class

OpenSSL::BN

Inherits Reference < Object

Constants

BN_RAND_BOTTOM_ANY = 0
BN_RAND_BOTTOM_ODD = 1
BN_RAND_TOP_ANY = -1
BN_RAND_TOP_ONE = 0
BN_RAND_TOP_TWO = 1

Constructors

new(bn : Pointer(LibCrypto::Bignum))
Source
new(num : UInt64)
Source
new(integer : Int)
Source

Class methods

from_bin(integer : Bytes)
Source
from_dec(integer : String)
Source
from_hex(integer : String)
Source
rand
Source
zero
Source

Instance methods

finalize
Source
size
Source
to_big
Source
to_big_i
Source
to_bin
Source
to_dec
Source
to_hex
Source
to_mpi
Source
to_unsafe
Source