Article View: alt.privacy.anon-server
Article #148460Re: 'hand rolled' crypto?
From: MikeyD
Date: Mon, 01 Mar 2004 16:51
Date: Mon, 01 Mar 2004 16:51
16 lines
2138 bytes
2138 bytes
>> >Is it possible to implement a very basic version of RSA public key >> >encryption in a language like QBasic? >> >> A non-trivial question! I have tried a number of approaches. The >> main challenge is doing long number arithmetic that is large enough to >> be safe against factoring. Given my results so far, the answer to your >> question is YES, however the intensity of the yes may depend on your >> criteria for success. > > 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? > Very long integers, because the whole thing is based on enormous primes. The basic calculation is something like a 128 bit integer raised to an arbitrary but quite large power mod a 2048 bit prime.
Technical Details
Message-ID:
<1078160062.2540.2@echo.uk.clara.net>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.ash.giganews.com!border2.nntp.ash.giganews.com!nntp.giganews.com!mephistopheles.news.clara.net!newspeer.clara.net!news.clara.net!echo.uk.clara.netReferences:
<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: <1078160062.2540.2@echo.uk.clara.net> Subject: Re: 'hand rolled' crypto? Date: Mon, 01 Mar 2004 16:51:07 +0000 From: MikeyD <m_donaghy50@hotmail.com> 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.ash.giganews.com!border2.nntp.ash.giganews.com!nntp.giganews.com!mephistopheles.news.clara.net!newspeer.clara.net!news.clara.net!echo.uk.clara.net Newsgroups: alt.privacy,alt.privacy.anon-server,alt.security.pgp Followup-To: alt.privacy Reply-To: m_donaghy50@hotmail.com Mail-Copies-To: m_donaghy50@hotmail.com Lines: 16 User-Agent: KNode/0.7.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: abuse@clara.net (please include full headers) X-Trace: 3676900030d890042141a070e316a05260f1fc860ec56c1ab560881840436abe NNTP-Posting-Date: Mon, 01 Mar 2004 16:54:22 +0000