Deutsch English Français Italiano |
<vqfd8h$3llmj$2@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: Rich <rich@example.invalid> Newsgroups: sci.crypt Subject: Re: Generate random passwords with your mouse ... :-) Date: Fri, 7 Mar 2025 18:17:53 -0000 (UTC) Organization: A noiseless patient Spider Lines: 33 Message-ID: <vqfd8h$3llmj$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> Injection-Date: Fri, 07 Mar 2025 19:17:54 +0100 (CET) Injection-Info: dont-email.me; posting-host="e4d368c0431911489cd6fa5494a52666"; logging-data="3856083"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19z950ubR8UofZAX1hO8pZV" User-Agent: tin/2.6.1-20211226 ("Convalmore") (Linux/5.15.139 (x86_64)) Cancel-Lock: sha1:ODygafx/avFFeXPTSC1kVL2SHQs= Bytes: 2185 Stefan Claas <fgrsna.pynnf@vagrearg.eh> wrote: > Richard Heathfield wrote: >> On 06/03/2025 08:51, Stefan Claas wrote: >> > Rich wrote: >> > > Stefan Claas <fgrsna.pynnf@vagrearg.eh> wrote: >> > > > Hi all, >> > > > >> > > > just for fun, or maybe for real usage. ;-) >> > > > >> > > > A small Windows .exe >> > > > >> > > > https://github.com/706f6c6c7578/mouse_entropy >> > > >> > > Not likely as "random" as one would think. Better than nothing as >> > > well. >> > >> > Well, why not as random? I think you can't generate the same mouse >> > movement twice, right? >> >> Depends on the mouse, I'm afraid. >> >> > And how could we call that? >> >> A good start, but you'll want to mix in some bits from somewhere else. > > Thanks. Done. You may check out the additional Linux code. If you are on Linux, you already have a much better randomness generator in /dev/urandom, which not only takes input from mouse, but many other I/O devices as well, to 'mix up' the randomness. You are unlikely to gain higher quality randomness on Linux with just some code to watch the mouse.