> Andreas Wagner wrote: > > > http://hub.darcs.net/pointfree/forth-crypt
I liked that. Quite elegant solution. > > However, these are all just toys unless I have high-precision, or even > better arbitrary precision arithmetic. Yep. 16-bit RSA might crack up quite fast... > > The Forth Scientific Library has bignum words in big.fth, but what would be > better is if arbitrary precision arithmetic could just be dropped in as > another datatype by extending the interpreter with Matthias Trute's > recognizers. Then we could use DO...LOOPs, 1+ etc, etc with arbitrary > precision numbers without creating redundant words. I asked for encryption in February in this list and I ended up playing with bignums from FSL. However I found them become slooooow. What I did, I wrote almost working B+ with asembly and gained quite much speed. Amforth overhead was quite bad. when working with pure forth solution. > > But then would + - * / MOD /MOD need to be deferred? Doesn't everything need second word? B:1+ would see it is bignum ( B: ) 1+ would increment the tail of number and then start to find where does the number doesn't have carry? So in many cases there would need to get the least significant cell, execute the next word and then fix the number. Or am I thinking this somehow wrong? I have been thinking some time to grab the http://www.das-labor.org/wiki/AVR-Crypto-Lib/en and start working with the assembly files and writing words for Amforth. However as always there are only 24 hours in a day and I have allocated them to something else. Best regards, Hannu Vuolasaho ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ Amforth-devel mailing list for http://amforth.sf.net/ Amforth-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amforth-devel