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))
Sourcenew(num : UInt64)
Sourcenew(integer : Int)
Sourcenew
SourceClass methods
from_bin(integer : Bytes)
Sourcefrom_dec(integer : String)
Sourcefrom_hex(integer : String)
Sourceone
Sourcerand
Sourcezero
SourceInstance methods
finalize
Sourceprint
Sourcesize
Sourceto_big
Sourceto_big_i
Sourceto_bin
Sourceto_dec
Sourceto_hex
Sourceto_mpi
Sourceto_unsafe
Source