Sujet : Re: Generate random passwords with your mouse ... :-)
De : rjh (at) *nospam* cpax.org.uk (Richard Heathfield)
Groupes : sci.cryptDate : 06. Mar 2025, 16:05:30
Autres entêtes
Organisation : Fix this later
Message-ID : <vqcdjq$30tov$2@dont-email.me>
References : 1 2 3 4 5 6 7
User-Agent : Mozilla Thunderbird
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 HeathfieldEmail: rjh at cpax dot org dot uk"Usenet is a strange place" - dmr 29 July 1999Sig line 4 vacant - apply within