Create a new bignum from a Buffer.
Return true if num is identified as a bignum instance.
Return true if num is identified as a bignum instance. Otherwise, return false.
the value to check
true if num is identified as a bignum instance. Otherwise, return false.
Generate a probable prime of length bits.
Generate a probable prime of length bits. If safe is true, it will be a "safe" prime of the form p=2p'+1 where p' is also prime.
Return a new Buffer with the data from the bignum.
Return a new Buffer with the data from the bignum.
the options
a new Buffer instance
BigNum Singleton