1998Q3/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: [MUD&#45;Dev] Re: Modular MUD -->
<!--X-From-R13: "Oqnz X. Fubeagba" <nqnzNcubravk.Bevaprgba.SRG> -->
<!--X-Date: Mon, 31 Aug 1998 07:18:42 &#45;0700 -->
<!--X-Message-Id: 19980831101540.A27710#tucson,Princeton.EDU -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 01bdd454$b6027e40$LocalHost@k6 -->
<!--X-Reference: 199808311202.GAA17122#darklock,com -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, [MUD-Dev] Re: Modular MUD</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:adam#phoenix,Princeton.EDU">
</head>
<body background="/backgrounds/paperback.gif" bgcolor="#ffffff"
      text="#000000" link="#0000FF" alink="#FF0000" vlink="#006000">

  <font size="+4" color="#804040">
    <strong><em>MUD-Dev<br>mailing list archive</em></strong>
  </font>
      
<br>
[&nbsp;<a href="../">Other Periods</a>
&nbsp;|&nbsp;<a href="../../">Other mailing lists</a>
&nbsp;|&nbsp;<a href="/search.php3">Search</a>
&nbsp;]
<br clear=all><hr>
<!--X-Body-Begin-->
<!--X-User-Header-->
<!--X-User-Header-End-->
<!--X-TopPNI-->

Date:&nbsp;
[&nbsp;<a href="msg00884.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00886.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00884.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00887.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00885">Author</A>
&nbsp;|&nbsp;<A HREF="#00885">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00885">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>[MUD-Dev] Re: Modular MUD</H1>
<HR>
<!--X-Subject-Header-End-->
<!--X-Head-of-Message-->
<UL>
<LI><em>To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI>
<LI><em>Subject</em>: [MUD-Dev] Re: Modular MUD</LI>
<LI><em>From</em>: "Adam J. Thornton" &lt;<A HREF="mailto:adam#phoenix,Princeton.EDU">adam#phoenix,Princeton.EDU</A>&gt;</LI>
<LI><em>Date</em>: Mon, 31 Aug 1998 10:15:40 -0400</LI>
<LI><em>Reply-To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>
On Mon, Aug 31, 1998 at 05:00:41AM -0700, Caliban Tiresias Darklock wrote:
&gt; I want to do something in my server to try and protect the user's password
&gt; in at least some half-assed fashion. Export controls are a problem,
&gt; however, and what I'm trying to find at this point is something legally
&gt; exportable from the US -- but all I seem to be able to find is all this
&gt; stuff that works on million-bit keys. Does anyone know where I can find
&gt; decent reasonably-sized (56 bits or less) encryption code? And does anyone
&gt; know whether a program which doesn't include source code and doesn't permit
&gt; the encryption of arbitrary data would still be a problem? 

Ah, finally something I *do* know something about.

For starters, if it will protect jack, you can't export it.  Seriously,
you'd still have to apply for a license for it, even if it's binary only
and doesn't permit arbitrary data encryption.  And the odds that you would
get that license are about zero.

Do you need a public-key system?  If so, you're really SOL.  If private key
will do...this is going to sound incredibly cheesy, but use DES.  DES is
exportable, and easy to crack for cheap, but if you're not protecting
anything all that valuable, it's an awful lot better than nothing.  There
are free implementations available, and it's simple to use; I recommend
using it in CBC (cipher block chaining) mode.  Electronic Codebook Mode is
easier but much more prone to spoofing.  If you don't care about encrypting
the password while it's in transit, go with DES.  If you do you'll need to
either set up key exchange somewhere or find a public-key system.  I think
Diffie-Hellman is out from under patent now, though, so you could use that,
but it's still not exportable.

DES is a 64-bit key.  56 bits are information and 8 bits are parity.  It
operates on 64 bits of plaintext and produces 64 bits of ciphertext.  And
if you want, you can chain 3 rounds of DES together to effectively double
the strength of the cipher, so it acts as if it had a 112-bit key.  This is
usually done in an encrypt-decrypt-encrypt cycle, so that if you set all
three keys to be identical, you get single DES.  3DES is about as strong as
anything out there.  I'm not actually sure about the legality of exporting
3DES; if the world made any sense it would be just like DES, but it may
not. 

You could also look into using a secure hashing algorithm to produce a
checksum of your password, but the feds _also_ know that a digital
signature algorithm can be turned into a stream cipher with no difficulty,
so it's probably not exportable, although you could see if SHA or MD5 are
exportable without a license.  I don't think they are, but I could be
wrong. 

The folks over at sci.crypt would know, and it's probably in the FAQ.

Adam
-- 
adam#princeton,edu 
"There's a border to somewhere waiting, and a tank full of time." - J. Steinman


</PRE>

<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<HR>
<ul compact><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><A NAME="00887" HREF="msg00887.html">[MUD-Dev] Re: Modular MUD</A></strong>
<ul compact><li><em>From:</em> Caliban Tiresias Darklock &lt;caliban#darklock,com&gt;</li></ul>
</UL></LI></UL>
<!--X-Follow-Ups-End-->
<!--X-References-->
<UL><LI><STRONG>References</STRONG>:
<UL>
<LI><STRONG><A NAME="00880" HREF="msg00880.html">[MUD-Dev] Re: Modular MUD</A></STRONG>
<UL><LI><EM>From:</EM> "quzah" &lt;quzah#geocities,com&gt;</LI></UL></LI>
<LI><STRONG><A NAME="00884" HREF="msg00884.html">[MUD-Dev] Re: Modular MUD</A></STRONG>
<UL><LI><EM>From:</EM> Caliban Tiresias Darklock &lt;caliban#darklock,com&gt;</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00884.html">[MUD-Dev] Re: Modular MUD</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00886.html">[MUD-Dev] Re: lockless system - foolproof?</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00884.html">[MUD-Dev] Re: Modular MUD</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00887.html">[MUD-Dev] Re: Modular MUD</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00885"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00885"><STRONG>Thread</STRONG></A></LI>
</UL>
</LI>
</UL>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
<ul><li>Thread context:
<BLOCKQUOTE><UL>
<LI><STRONG>[MUD-Dev] Re: lockless system - foolproof?</STRONG>, <EM>(continued)</EM>
<ul compact>
<LI><strong><A NAME="00879" HREF="msg00879.html">[MUD-Dev] Re: lockless system - foolproof?</A></strong>, 
J C Lawrence <a href="mailto:claw#kanga,nu">claw#kanga,nu</a>, Sun 30 Aug 1998, 20:23 GMT
</LI>
</ul>
</LI>
<LI><strong><A NAME="00874" HREF="msg00874.html">[MUD-Dev] Re: Modular MUD</A></strong>, 
D. B. Brown <a href="mailto:dbrown1#stny,lrun.com">dbrown1#stny,lrun.com</a>, Sun 30 Aug 1998, 16:04 GMT
<UL>
<li>&lt;Possible follow-up(s)&gt;<br>
<LI><strong><A NAME="00880" HREF="msg00880.html">[MUD-Dev] Re: Modular MUD</A></strong>, 
quzah <a href="mailto:quzah#geocities,com">quzah#geocities,com</a>, Sun 30 Aug 1998, 21:10 GMT
<UL>
<LI><strong><A NAME="00884" HREF="msg00884.html">[MUD-Dev] Re: Modular MUD</A></strong>, 
Caliban Tiresias Darklock <a href="mailto:caliban#darklock,com">caliban#darklock,com</a>, Mon 31 Aug 1998, 12:04 GMT
<UL>
<LI><strong><A NAME="00885" HREF="msg00885.html">[MUD-Dev] Re: Modular MUD</A></strong>, 
Adam J. Thornton <a href="mailto:adam#phoenix,Princeton.EDU">adam#phoenix,Princeton.EDU</a>, Mon 31 Aug 1998, 14:18 GMT
<UL>
<LI><strong><A NAME="00887" HREF="msg00887.html">[MUD-Dev] Re: Modular MUD</A></strong>, 
Caliban Tiresias Darklock <a href="mailto:caliban#darklock,com">caliban#darklock,com</a>, Mon 31 Aug 1998, 14:56 GMT
<UL>
<LI><strong><A NAME="00888" HREF="msg00888.html">[MUD-Dev] Re: Modular MUD</A></strong>, 
Adam J. Thornton <a href="mailto:adam#phoenix,Princeton.EDU">adam#phoenix,Princeton.EDU</a>, Mon 31 Aug 1998, 15:31 GMT
<UL>
<LI><strong><A NAME="00895" HREF="msg00895.html">[MUD-Dev] Re: Modular MUD</A></strong>, 
Vadim Tkachenko <a href="mailto:vt#freehold,crocodile.org">vt#freehold,crocodile.org</a>, Tue 01 Sep 1998, 03:45 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
</UL>
</LI>
</UL>
</LI>
</UL>
</LI>
<LI><strong><A NAME="00889" HREF="msg00889.html">[MUD-Dev] Re: Modular MUD</A></strong>, 
quzah <a href="mailto:quzah#geocities,com">quzah#geocities,com</a>, Mon 31 Aug 1998, 20:01 GMT
</LI>
</UL>
</LI>
</UL></BLOCKQUOTE>

</ul>
<hr>
<center>
[&nbsp;<a href="../">Other Periods</a>
&nbsp;|&nbsp;<a href="../../">Other mailing lists</a>
&nbsp;|&nbsp;<a href="/search.php3">Search</a>
&nbsp;]
</center>
<hr>
</body>
</html>