Drexel dragonThe Math Forum

The Math Forum Internet Mathematics Library

Big Integers in JavaScript

Library Home || Full Table of Contents || Library Help

Visit this site: http://www.leemon.com/crypto/BigInt.html

Author:Leemon Baird
Description: A JavaScript library for arbitrary-precision integers. This page performs RSA in any base: binary, decimal, hexadecimal, base 64, and base 95 (whole keyboard), in which the message can be ordinary text. The library allows addition, subtraction, multiplication, division, and exponentiation modulo an arbitrary number. It has the extended Euclid algorithm, and it also allows conversion between bases, up to base 95. The prime numbers it generates are true primes rather than probable primes.

Levels: High School (9-12), College, Research
Languages: English
Resource Types: Web Interactive/Java
Math Topics: Cryptography

[Privacy Policy] [Terms of Use]

Home || The Math Library || Quick Reference || Search || Help

© 1994- The Math Forum at NCTM. All rights reserved.