Article View: alt.privacy.anon-server
Article #148447Re: 'hand rolled' crypto?
From: John Bailey
Date: Mon, 01 Mar 2004 13:12
Date: Mon, 01 Mar 2004 13:12
28 lines
2544 bytes
2544 bytes
On 29 Feb 2004 18:31:03 -0800, carlg@libertybasic.com (Carl Gundel) wrote: >john_bailey@rochester.rr.com (John Bailey) wrote in message news:<40409107.1533517180@news-server.rochester.rr.com>... >> On Fri, 27 Feb 2004 04:58:35 +0100 (CET), Tarapia Tapioco >> <comesefosse@ntani.firenze.linux.it> wrote: >> >> >Is it possible to implement a very basic version of RSA public key encryption in a language like QBasic? >> >> The main challenge is doing long number arithmetic that >> is large enough to be safe against factoring. > >By long number do you mean long integer? My own sofware has support >for very long integers, but only supports double precision floats. >What kinds of long number arithmetic would be required? I meant long integer arithmetic as typified by bc, the unix utility for unlimited precision arithmetic--see: http://www.scit.wlv.ac.uk/cgi-bin/mansec?1+bc It is possible to use floats of any size to do the math--but very carefully, since information can be lost in some float operations. Both javascript and Excel automatically convert/display numbers *interchangeably* in either integer or floating point format, making efforts to work directly with them harrowing. The result, however may be worthwhile. John Bailey http://home.rochester.rr.com/jbxroads/mailto.html
Technical Details
Message-ID:
<404333cb.164024762@news-server.rochester.rr.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.security.pgp.20140722.mbox.gz!intern1.nntp.aus1.giganews.com!internal1.nntp.sjc.giganews.com!border2.nntp.sjc.giganews.com!nntp.giganews.com!feed2.news.rcn.net!feed1.news.rcn.net!rcn!news.maxwell.syr.edu!news-rtr.nyroc.rr.com!news-out.nyroc.rr.com!twister.nyroc.rr.com.POSTED!53ab2750!not-for-mailReferences:
<9ba0cc4246e9b58b683926258be0ebd5@firenze.linux.it> <40409107.1533517180@news-server.rochester.rr.com> <8203e17b.0402291831.4b8511b2@posting.google.com>Show Full Headers
Complete Article Headers
Message-ID: <404333cb.164024762@news-server.rochester.rr.com> Subject: Re: 'hand rolled' crypto? Date: Mon, 01 Mar 2004 13:12:09 GMT From: john_bailey@rochester.rr.com (John Bailey) References: <9ba0cc4246e9b58b683926258be0ebd5@firenze.linux.it> <40409107.1533517180@news-server.rochester.rr.com> <8203e17b.0402291831.4b8511b2@posting.google.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.security.pgp.20140722.mbox.gz!intern1.nntp.aus1.giganews.com!internal1.nntp.sjc.giganews.com!border2.nntp.sjc.giganews.com!nntp.giganews.com!feed2.news.rcn.net!feed1.news.rcn.net!rcn!news.maxwell.syr.edu!news-rtr.nyroc.rr.com!news-out.nyroc.rr.com!twister.nyroc.rr.com.POSTED!53ab2750!not-for-mail Newsgroups: alt.privacy,alt.privacy.anon-server,alt.security.pgp X-Newsreader: Forte Free Agent 1.11/32.235 Lines: 28 NNTP-Posting-Host: 66.67.126.162 X-Complaints-To: abuse@rr.com X-Trace: twister.nyroc.rr.com 1078146729 66.67.126.162 (Mon, NNTP-Posting-Date: Mon, 01 Mar 2004 08:12:09 EST Organization: Road Runner