|
|
| File Information |
| Description |
Use this function if you need to compute modulo for large numbers (eg. RSA). This function is faster then the recursive one.
Tested in matlab's profiler on:
4448780^91884097(mod 961)
results:
- recursive function: 2.578 s
- this function: 0.016 s.
algorythm source:
http://www.disappearing-inc.com/ciphers/rsa.html
(this page does not exist any longer, but I saved it at that time and you'll find it in the zip file) |
| Acknowledgements |
The author wishes to acknowledge the following in the creation of this submission:
big x^y modulo function
|
| MATLAB release |
MATLAB 7 (R14)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (4) |
| 31 Dec 2005 |
saahil kumar
|
|
|
| 04 Feb 2006 |
Pontus Nelldal
|
|
|
| 11 Mar 2006 |
DJD k;j
|
|
|
| 28 Jan 2012 |
krishkr
|
|
|
| Updates |
| 20 Jun 2009 |
I've included the original algorithm page in the zip file. (becasue it does not exist any longer) |
|
Contact us at files@mathworks.com