Deutsch   English   Français   Italiano  
<vqd005$33rjg$4@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!weretis.net!feeder9.news.weretis.net!news.quux.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: Richard Heathfield <rjh@cpax.org.uk>
Newsgroups: sci.crypt
Subject: Re: Generate random passwords with your mouse ... :-)
Date: Thu, 6 Mar 2025 20:19:17 +0000
Organization: Fix this later
Lines: 32
Message-ID: <vqd005$33rjg$4@dont-email.me>
References: <vqaaim$1q8rg$1@paganini.bofh.team> <vqafqv$2jg8b$2@dont-email.me>
 <vqbnmd$21e9n$1@paganini.bofh.team> <vqbpl5$2tqjk$1@dont-email.me>
 <vqc784$2281i$1@paganini.bofh.team> <vqc9d5$30gab$1@dont-email.me>
 <vqcaek$22dlp$1@paganini.bofh.team> <vqcdjq$30tov$2@dont-email.me>
 <87o6yei2gg.fsf@pc-731.ybtra.de> <vqcn63$231ur$1@paganini.bofh.team>
 <87v7sm803e.fsf@pc-731.ybtra.de> <vqct1v$23c1p$1@paganini.bofh.team>
 <vqct5f$33rjg$3@dont-email.me> <vqcved$23f85$1@paganini.bofh.team>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 06 Mar 2025 21:19:17 +0100 (CET)
Injection-Info: dont-email.me; posting-host="a12ade0f7e5b6fab51cfc5e27fedd0be";
	logging-data="3272304"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/6ubhJYGiE901n4OK3WY3um1frseCxWddW4mr0UQOEMw=="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:W8n91WZXH0l9tYctIztHRl7dyHY=
In-Reply-To: <vqcved$23f85$1@paganini.bofh.team>
Content-Language: en-GB
Bytes: 2448

On 06/03/2025 20:09, Stefan Claas wrote:
> Richard Heathfield wrote:
>> On 06/03/2025 19:28, Stefan Claas wrote:
>>> Marcel Logen wrote:
>>
>> <snip>
>>
>>>>
>>>> One question I ask myself:
>>>>
>>>> Aren't you losing entropy when you use the modulo operation
>>>> in the "bytes_to_chars" function? I wonder.
>>>
>>> Yes, but this can be fixed by doubling the entropy
>>
>> Not all of us are prepared to wait that long.
> 
> Well, and old saying of mine: "privacy cost time and money" ... ;-)

I can get quicker bits with dice.

I can see no reason why it takes so long on my system, which 
generally trots along like Concorde on steroids. I've profiled 
your code to no avail, and so, for me at least, it's simply not a 
practical proposition.

-- 
Richard Heathfield
Email: rjh at cpax dot org dot uk
"Usenet is a strange place" - dmr 29 July 1999
Sig line 4 vacant - apply within