<!-- MHonArc v2.4.4 --> <!--X-Subject: [MUD-Dev] Re: [DevMUD] Re: Database module --> <!--X-From-R13: "Xnl Qneyfba" <abcNzvger.bet> --> <!--X-Date: Tue, 22 Dec 1998 07:02:47 -0800 --> <!--X-Message-Id: 000001be2dbc$2c0095d0$18095381#pointsman,mitre.org --> <!--X-Content-Type: text/plain --> <!--X-Reference: XFMail.981221232233.cynbe#muq,org --> <!--X-Head-End--> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <html> <head> <title>MUD-Dev message, [MUD-Dev] Re: [DevMUD] Re: Database module</title> <!-- meta name="robots" content="noindex,nofollow" --> <link rev="made" href="mailto:nop#mitre,org"> </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> [ <a href="../">Other Periods</a> | <a href="../../">Other mailing lists</a> | <a href="/search.php3">Search</a> ] <br clear=all><hr> <!--X-Body-Begin--> <!--X-User-Header--> <!--X-User-Header-End--> <!--X-TopPNI--> Date: [ <a href="msg01039.html">Previous</a> | <a href="msg01041.html">Next</a> ] Thread: [ <a href="msg01039.html">Previous</a> | <a href="msg01042.html">Next</a> ] Index: [ <A HREF="author.html#01040">Author</A> | <A HREF="#01040">Date</A> | <A HREF="thread.html#01040">Thread</A> ] <!--X-TopPNI-End--> <!--X-MsgBody--> <!--X-Subject-Header-Begin--> <H1>[MUD-Dev] Re: [DevMUD] Re: Database module</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: [DevMUD] Re: Database module</LI> <LI><em>From</em>: "Jay Carlson" <<A HREF="mailto:nop#mitre,org">nop#mitre,org</A>></LI> <LI><em>Date</em>: Tue, 22 Dec 1998 10:03:02 -0500</LI> <LI><em>Cc</em>: <<A HREF="mailto:devmud#kanga,nu">devmud#kanga,nu</A>></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> cynbe <cynbe#muq,org> wrote: > (2) If you need to pass numbers through human channels, a possible > improvement on UUENCODE-ing style translation is: > (a) Pick a set of 1024 words (probably short, single-syllable words) > (b) bite off 10-bit chunks from your integer, and use each to select > a word from the set: A 64-bit integer becomes seven words. > The result will be a number encoding with much more mnemonic value to > native speakers than the corresponding UUENCODE-ed version: I'm sure > any of us can remember seven words easier than 16 random hex digits. That's what S/Key (and its successor systems) do. Quoting RFC 2289: The one-time password generated by the above procedure is 64 bits in length. Entering a 64 bit number is a difficult and error prone process. [...] The one-time password therefore MAY be converted to, and all servers MUST be capable of accepting it as, a sequence of six short (1 to 4 letter) easily typed words that only use characters from ISO-646 IVCS. Each word is chosen from a dictionary of 2048 words; at 11 bits per word, all one-time passwords may be encoded. The two extra bits in this encoding are used to store a checksum. [...] The OTPs spit out look like TERN FANG DINT TOG WRY BAWL, which is certainly better than the hex. See the RFC (one copy at <A HREF="ftp://coast.cs.purdue.edu/pub/tools/unix/skey/docs/rfc2289.txt">ftp://coast.cs.purdue.edu/pub/tools/unix/skey/docs/rfc2289.txt</A> ) for the actual dictionary. > (For extra credit: Pick separate verb, noun and adjective sets of > 1024 words, and arrange for your numbers to make grammatical > sentences. > I'll bet this will increase the mnemonicity of the encoded numbers > significantly.) If you can get enough information crammed in there. I'm reminded of the LambdaCore $wiz_utils:random_password function, which make random consonant-vowel-consonant-vowel-etc strings of specified length. There are 6 vowels and 17 consonants (c, f, and k removed to help avoid rude-sounding random strings). So, if you know a random password is from this generator and is of length 6, there are only (6 * 17) ^ 3 possibilities.... Jay </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="01042" HREF="msg01042.html">[MUD-Dev] Re: [DevMUD] Re: Database module</A></strong> <ul compact><li><em>From:</em> cynbe#muq,org</li></ul> </UL></LI></UL> <!--X-Follow-Ups-End--> <!--X-References--> <UL><LI><STRONG>References</STRONG>: <UL> <LI><STRONG><A NAME="01037" HREF="msg01037.html">[MUD-Dev] Re: [DevMUD] Re: Database module</A></STRONG> <UL><LI><EM>From:</EM> cynbe#muq,org</LI></UL></LI> </UL></LI></UL> <!--X-References-End--> <!--X-BotPNI--> <UL> <LI>Prev by Date: <STRONG><A HREF="msg01039.html">[MUD-Dev] Re: [DevMUD] Re: Database module</A></STRONG> </LI> <LI>Next by Date: <STRONG><A HREF="msg01041.html">[MUD-Dev] Re: [DevMUD] Re: Database module</A></STRONG> </LI> <LI>Prev by thread: <STRONG><A HREF="msg01039.html">[MUD-Dev] Re: [DevMUD] Re: Database module</A></STRONG> </LI> <LI>Next by thread: <STRONG><A HREF="msg01042.html">[MUD-Dev] Re: [DevMUD] Re: Database module</A></STRONG> </LI> <LI>Index(es): <UL> <LI><A HREF="index.html#01040"><STRONG>Date</STRONG></A></LI> <LI><A HREF="thread.html#01040"><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><A NAME="01036" HREF="msg01036.html">[MUD-Dev] Re: [DevMUD] Re: Database module</A></strong>, J C Lawrence <a href="mailto:claw#kanga,nu">claw#kanga,nu</a>, Tue 22 Dec 1998, 04:30 GMT <UL> <LI><strong><A NAME="01037" HREF="msg01037.html">[MUD-Dev] Re: [DevMUD] Re: Database module</A></strong>, cynbe <a href="mailto:cynbe#muq,org">cynbe#muq,org</a>, Tue 22 Dec 1998, 05:32 GMT <UL> <LI><strong><A NAME="01038" HREF="msg01038.html">[MUD-Dev] Re: [DevMUD] Re: Database module</A></strong>, J C Lawrence <a href="mailto:claw#kanga,nu">claw#kanga,nu</a>, Tue 22 Dec 1998, 06:24 GMT <UL> <LI><strong><A NAME="01039" HREF="msg01039.html">[MUD-Dev] Re: [DevMUD] Re: Database module</A></strong>, cynbe <a href="mailto:cynbe#muq,org">cynbe#muq,org</a>, Tue 22 Dec 1998, 10:14 GMT </LI> </UL> </LI> <LI><strong><A NAME="01040" HREF="msg01040.html">[MUD-Dev] Re: [DevMUD] Re: Database module</A></strong>, Jay Carlson <a href="mailto:nop#mitre,org">nop#mitre,org</a>, Tue 22 Dec 1998, 15:02 GMT <UL> <LI><strong><A NAME="01042" HREF="msg01042.html">[MUD-Dev] Re: [DevMUD] Re: Database module</A></strong>, cynbe <a href="mailto:cynbe#muq,org">cynbe#muq,org</a>, Tue 22 Dec 1998, 20:12 GMT </LI> </UL> </LI> <LI><strong><A NAME="01041" HREF="msg01041.html">[MUD-Dev] Re: [DevMUD] Re: Database module</A></strong>, T. Alexander Popiel <a href="mailto:popiel#snugharbor,com">popiel#snugharbor,com</a>, Tue 22 Dec 1998, 16:32 GMT </LI> </UL> </LI> </UL> <UL> <li><Possible follow-up(s)><br> <LI><strong><A NAME="01044" HREF="msg01044.html">[MUD-Dev] Re: [DevMUD] Re: Database module</A></strong>, Felix A. Croes <a href="mailto:felix#dworkin,nl">felix#dworkin,nl</a>, Tue 22 Dec 1998, 21:42 GMT </LI> </UL> </LI> <LI><strong><A NAME="01024" HREF="msg01024.html">[MUD-Dev] Developing a MUD for the first time?</A></strong>, Alex Oren <a href="mailto:alexo#bigfoot,com">alexo#bigfoot,com</a>, Mon 21 Dec 1998, 07:13 GMT </UL></BLOCKQUOTE> </ul> <hr> <center> [ <a href="../">Other Periods</a> | <a href="../../">Other mailing lists</a> | <a href="/search.php3">Search</a> ] </center> <hr> </body> </html>