Article View: alt.privacy.anon-server
Article #146799Re: 'hand rolled' crypto?
From: MikeyD
Date: Fri, 27 Feb 2004 19:03
Date: Fri, 27 Feb 2004 19:03
44 lines
2941 bytes
2941 bytes
> I recently ran across http://ciphersaber.gurus.com/ and it brought a > question to mind. > > Is it possible to implement a very basic version of RSA public key > encryption in a language like QBasic? Yes, although you'd be better making an openpgp-compatiable one. Any language can be used, more or less. (it might be a bit hard to do in intercal, but I'll have a go if you like) It doesn't seem to depend on support for floating-point numbers or anything like that. > > I realize this is probably a stupid question, but > maybe not. the ciphersaber page brought to mind the idea that like the > Jedi of starwars were expected to craft their own lightsaber. The best > way to have crypto you *Know* doesn't have backdoors in it is if you can > follow the algorithm and some commonly agreed upon standards to write your > own crypto program that can use pgp keys that are in use worldwide. Very true. > > so how about it? is this at all reasonable? Yes, that's all absolutely correct, although I've found that a crypto program is beyond me as yet. (and I've written various encoder/decoders) > > where would be the best place to start? > > what documents. The OpenPGP specifications? RFC 2440 (http://www.faqs.org/rfcs/rfc2440.html) Not a guide to implementing, just the basic standard > > in plain english please with comments and examples.. Oh. But won't that risk you copying bad code? I've read very good things about http://www.schneier.com/book-applied.html , I'd suggest getting a copy would be the best way to start > > i'm not THAT good of a programmer. Then maybe you should leave it until after you've written a few simpler things to get you used to it? Try a mime encoder first.
Technical Details
Message-ID:
<1077908804.3136.0@ersa.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!ersa.uk.clara.netReferences:
<9ba0cc4246e9b58b683926258be0ebd5@firenze.linux.it>Show Full Headers
Complete Article Headers
Message-ID: <1077908804.3136.0@ersa.uk.clara.net> Subject: Re: 'hand rolled' crypto? Date: Fri, 27 Feb 2004 19:03:57 +0000 From: MikeyD <m_donaghy50@hotmail.com> References: <9ba0cc4246e9b58b683926258be0ebd5@firenze.linux.it> 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!ersa.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: 44 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: d0e2e6106f105800c6000098034794606326928174486c4ac00590a7403f9544 NNTP-Posting-Date: Fri, 27 Feb 2004 19:06:44 +0000