Re: Create a Nasty Password with MATHEMATICA
- To: mathgroup at smc.vnet.net
- Subject: [mg131754] Re: Create a Nasty Password with MATHEMATICA
- From: William Rummler <wrummler at wolfram.com>
- Date: Sat, 28 Sep 2013 21:23:48 -0400 (EDT)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- Delivered-to: l-mathgroup@wolfram.com
- Delivered-to: mathgroup-outx@smc.vnet.net
- Delivered-to: mathgroup-newsendx@smc.vnet.net
----- Original Message -----
>
> Hola:
>
> SeedRandom["wrAslb4&IXc#K"]
> RandomInteger[{1, 256}, 25]
Re (1): I think you originally meant {0, 255} for ANSI (or another 8-bit encoding); you'll want {0, 127} for ASCII and {32, 126} for printable ASCII.
Re (2): For passwords, I would think doing anything other than printable ASCII is very likely to run into problems when using/entering the password. There can even still be some restrictions (depending on the password processor) that disallow parts of printable ASCII, e.g. disallowing anything that is not a letter or number.
--William
> 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.
>
> 1. Is there a way to establish complete coincidence of the two partly
> distinct interpretations of the ASCII numbers?
>
> 2. Will such an outlandish password be generally understood or are
> there common character usage restrictions which make my exercise
> useless?
>
> Best regards,
>
> MATTHIAS BODE
> S 17.36398=B0, W 66.21816=B0,2'590 m. AMSL.=0A=
> LVSABA at HOTMAIL.COM
>
>
>