Text this: BigNum math : implementing cryptographic multiple precision arithmetic / Tom St. Denis, Greg Rose.