Deutsch   English   Français   Italiano  
<vqcdjq$30tov$2@dont-email.me>

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

Path: ...!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 15:05:30 +0000
Organization: Fix this later
Lines: 39
Message-ID: <vqcdjq$30tov$2@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>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 06 Mar 2025 16:05:32 +0100 (CET)
Injection-Info: dont-email.me; posting-host="a12ade0f7e5b6fab51cfc5e27fedd0be";
	logging-data="3176223"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+DCYc1La97CVzjWcXK/7DctVmPzqW8iRKU9GcF1x1x/A=="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:Gldq8P52meCx9jbXB9BAA9Y9nJQ=
In-Reply-To: <vqcaek$22dlp$1@paganini.bofh.team>
Content-Language: en-GB
Bytes: 2322

On 06/03/2025 14:11, Stefan Claas wrote:
> I have tested it also under Linux (Ubuntu Mate) with my little GPD MicroPC
> and it only takes milliseconds, with your example. I must admit I do not
> know why it is so slow on your side.

I hacked out the usleep() call (and I can't believe a 10ms delay 
is your problem!), and this time it came back:

Entropy collection completed!

Random Password: G~
SHA256: 
6249e6faa58831154f6df352c843a316a98c6b1eb57baa61a8bf4401e3726988

real	0m16.387s
user	0m1.448s
sys	0m6.113s


8 seconds per byte. Hmm. Clearly something is afoot.

I'm also having the same issues as Marcel after a COMPLETED run.

I see that you are using a 32-byte array, so I hashed G~, G~\0, and:

47 7e 00 00 00 00 00 00  00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00

and none of them came to 
6249e6faa58831154f6df352c843a316a98c6b1eb57baa61a8bf4401e3726988

Sorry.

-- 
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