"BigNum Math. Implementing Cryptographic Multiple Precision Arithmetic" - читать интересную книгу автора (Tom St Denis)