🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #250918

Re: Safe Passwords

#250918
From: Baal
Date: Thu, 15 Sep 2011 23:18
116 lines
4970 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

nemo_outis wrote in alt.privacy.anon-server on Thursday 15 September 2011 
16:31 in Message-ID: <Xns9F6189A1C39B8pqwertyu@69.16.185.247>: 

> Dave U. Random <anonymous@anonymitaet-im-inter.net> wrote in
> news:02f0167579eda45d80ce69e21d45aa86@anonymitaet-im-inter.net
> : 
>> My question is, how likely is it that any computer program
>> could figure out that passphrase?
> 

What the original poster is proposing is very much akin to the Diceware 
system. See: http://www.diceware.com 

> Shannon (yes, that Shannon of coding theory) says that ordinary
> English has an 'entropy' of about 1.2 to 1.5 bits per character.
> 
> Taking the lower range of this estimate in order to be (very)
> conservative, one calculates that an 'ordinary English
> sentence/phrase' of 57 characters would have a 'strength' of 68
> bits or so - very good, but still far less than the strength of
> the underlying crypto algorithm (e.g., 128/192/256 bits for AES)

Diceware does rather better than natural English by using a specialized 
dictionary for creating passphrases. Randomness of words selected is 
achieved by using dice-rolls to select the words from the list.  

Diceware consists of 7,776 words, with each word matched to a 5-digit number 
corresponding to a dice-roll, e.g.: 

 16655 clause
 16656 claw
 16661 clay
 16662 clean
 16663 clear
 16664 cleat
 16665 cleft
 16666 clerk

The number of bits of entropy in each Diceware word is equal to log7776/log2 
or 12.9248125036, which rounded-down, yields approximately 12.92 bits of 
entropy per word. 

Even if the authorities were aware that you are using Diceware, and even 
know the length of your passphrase (10 words) this still does not help them, 
as the words are randomly-chosen. To brute-force such a passphrase, they 
would have to try all 7,776 words for each position. 

This works out to: 7776 x 7776 x 7776 x 7776 x 7776 x 7776 x 7776 x 7776 x 
7776 x 7776 = 7776^10 = 8.08281277465x10^38

This is a number greater than 2^129 = 6.80564733842x10^38

As you can see, a 10 word Diceware passphrase has better than 129 bits of 
entropy. If you assume that the general rule applies, namely that a key/
passphrase is found in approximately one half of the search space, this 
means that to find the passphrase, a space on the order 2^128 combinations 
would have to be searched. 

I think we can all agree that for all intents and purposes, it is entirely 
infeasible to brute-force a 10-word Diceware passphrase, at least for the 
forseeable future. 

Here is a sample Diceware passphrase, generated for this example: 

32652 hid

36315 lemma

56423 tamp

64264 witch

45245 pc

22335 dank

21212 coach

22431 deacon

33364 hulk

43115 much

129 bits of entropy in just 43 characters -- not bad. 

> Regards,
> 
> PS  A good argument can be made that for computerized (not
> human) password cracking the Shannon entropy of ordinary English
> may be upwards of 1.5 bits/character (e.g., based on the
> efficiency of 'very good' compression algorithms)

Baal <Baal@Usenet.org>
PGP Key: http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0x1E92C0E8
PGP Key Fingerprint: 40E4 E9BB D084 22D5 3DE9  66B8 08E3 638C 1E92 C0E8
Retired Lecturer, Encryption and Data Security, Pedo U, Usenet Campus
- --

Sed quis custodiet ipsos Custodes?"    --    "Who will watch the Watchmen?"
                                 -- Juvenal, Satires, VI, 347. circa 128 AD

-----BEGIN PGP SIGNATURE-----

iQEbBAEBCgAGBQJOcnwlAAoJEAjjY4weksDoFdAH+MdfZCmZm4sRNzRbtFRWHXK5
tispNQfVjB/UZEGt9CGrPcbmLREIiYJZOLeUxiuUYRKE2KRe2p1vpM+ORJb5ewjI
IG9+xhp6iPUgLfLNF9NFoCGsLZzYufhS7BACvZIjpxp0QkyN2Zr1GWnQW3wxJ+5J
Hf6HhrcudXE0KKAhVO3njFR4e19MIEvp8FxQW1oGTAwPCwo71odjT8WaEL9FMFW+
FHn5lVx55Iw4PssA3xSTujZ1KUoLkCp+9Z8lwY4TeO1iVYIleVO8aHrWZvsYSdAH
ZhdbsBkeVrIYsAmRsGRmpja+hQnqGZTFSyu3QaztEI/wmB43esCuIzI8U8ewfA==
=9Ogz
-----END PGP SIGNATURE-----
Technical Details
Message-ID: <20110915231835.074C28155D@fleegle.mixmin.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.20140712.mbox.gz!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin2!goblin1!goblin.stu.neva.ru!news.mixmin.net!m2n.remailer.dyndns.org
References: <02f0167579eda45d80ce69e21d45aa86@anonymitaet-im-inter.net> <Xns9F6189A1C39B8pqwertyu@69.16.185.247>

Show Full Headers
Complete Article Headers
Message-ID: <20110915231835.074C28155D@fleegle.mixmin.net>
Subject: Re: Safe Passwords
Date: Thu, 15 Sep 2011 23:18:35 +0000
From: Baal <Use-Author-Supplied-Address-Header@[127.1]>
References: <02f0167579eda45d80ce69e21d45aa86@anonymitaet-im-inter.net> <Xns9F6189A1C39B8pqwertyu@69.16.185.247>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.20140712.mbox.gz!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin2!goblin1!goblin.stu.neva.ru!news.mixmin.net!m2n.remailer.dyndns.org
Newsgroups: alt.privacy,alt.privacy.anon-server
Author-Supplied-Address: Baal<AT>nym<DOT>mixmin<DOT>net
X-Abuse-Contact: abuse@m2n.remailer.dyndns.org
Lines: 117