rsa_workbench/bc.html

43 lines
1.2 KiB
HTML
Raw Normal View History

2012-02-14 18:45:18 +00:00
<html>
<body BGCOLOR="#00E0E0" link="#001fC0" vlink="#000080" text="#00000f">
<h1><title> BC - Bench Calculator </title></h1>
<h1> BC - Bench Calculator </h1>
<h3>'bc' is a unix scripting tool that provides 'arbitary precision'
mathematics.</h3>
<p>
It has a 'C' like syntax, supports recursion and allows
variables and functions to
be defined (although as the old bc only allowed single letter names
I have carried on using this).
</p>
<p>
An example of bc in action can be seen in <a href="pi.php"> calculate pi with arbitary precision </a>.
</p>
<p>
In this project it is used via php scripts, to provide
the mathematical muscle to deal with the very large numbers
handled in RSA implementations.
It is still a little slow, and the cpu load will
regularly hit 95% as it calculates large exponents.
Very large values may even cause the page to take minutes
to complete calculations.
However, the numbers used in RSA are so large that
double precision, or floating point, is woefully inadequate.
</p>
Link to unix <a href="bc_man_page.html"> bc man page </a> converted to html.
<br>
<br>
<center>
<a href="javascript:history.back();">
<img src=back.png align=center border=0> </a>
</center>
</body>
</html>