Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #15562 > unrolled thread

Re: Create a Nasty Password with MATHEMATICA

Started byBill Rowe <readnews@sbcglobal.net>
First post2013-09-29 01:25 +0000
Last post2013-09-29 01:25 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  Re: Create a Nasty Password with MATHEMATICA Bill Rowe <readnews@sbcglobal.net> - 2013-09-29 01:25 +0000

#15562 — Re: Create a Nasty Password with MATHEMATICA

FromBill Rowe <readnews@sbcglobal.net>
Date2013-09-29 01:25 +0000
SubjectRe: Create a Nasty Password with MATHEMATICA
Message-ID<l27vj4$sdp$1@smc.vnet.net>
On 9/27/13 at 2:30 AM, lvsaba@hotmail.com (Matthias Bode) wrote:

>SeedRandom["wrAslb4&IXc#K"] RandomInteger[{1, 256}, 25]
>FromCharacterCode[%]

>works but I cannot reproduce the result using Alt plus the ASCII
>number given by  RandomInteger[{1, 256}, 25] on my new TOSHIBA
>Satellite machine; original factory settings for the U.S. and QWERTY
>keybord.

>2. Will such an outlandish password be generally understood or are
>there common character usage restrictions which make my exercise
>useless?

Your code allows any possible value for a single byte which
necessarily includes items not easily inputed directly from the keyboard.

Changing RandomInteger[{1,256},25] to RandomInteger[{32,126},25]
restricts the possible characters to things easily inputed
directly from the keyboard which will be an improvement. But
this will still generate strings that certainly will not be
accepted by some systems.


[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web