Mirror of the work of Tom Wu - http://www-cs-students.stanford.edu/~tjw/jsbn/