Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Home

davedelong edited this page · 4 revisions
Clone this wiki locally

Welcome to the CHMath wiki!

CHMath is an Objective-C wrapper around OpenSSL’s BigNumber math functions. It provides three classes for you to use:

  • CHNumber
  • CHMutableNumber
  • CHUtils

CHNumber

CHNumber is the base class of all big integer functionality. It encapsulates an immutable Big Integer, but still provides an interface for manipulating this integer with other CHNumbers.

CHMutableNumber

CHMutableNumber is similar to CHNumber (its superclass), except that CHMutableNumbers also allow you to manipulate the encapsulated Big Integer directly..

CHUtils

CHUtils provides class (static) methods for common functionality, such as generating cryptographically strong prime numbers, finding the greatest common divisor of two CHNumbers, etc.

Something went wrong with that request. Please try again.