in reply to Re^2: A better rand() for Win32
in thread A better rand() for Win32
Actually no. It wasn't rhetorical. I did a search for capicom, found a download page, attempted to follow the Capicom Reference link to find out what it was about. But, being MS, I got a "Sorry, there was a vowel in the month so we decided to change the location of everything on our website again, but oh dear, we seem to have missed updating a link", page. So, as I don't know if there is some advantage, and the docs do not appear to be available, I thought I would ask.
And, in the event that the author was not familiar with Math::Random::MT, asking would bring that module to his attention also.
Why do you think someone might want a short cut-and-paste solution over a CPAN module?
If it were a simple C&P job, I might understand the motivation, but as you have to also download and install Capicom SDK, it doesn't seem any easier than installing the Math-Random PPD. Especially when it requires authentication which doesn't work for me, despite that I have all the appropriate Genuine Windows certificates of Authenticity, holograms, asset tags and product keys. Probably because I have configured my machine to disable a bunch of unnecessary services.
As for counter arguments. It's hard to know what to counter until I know what advantages it is meant to have? Hence another reason for asking. I'm not at all convinced that entropy-based RNGs, especially those that require callouts to third-party websites, (I've failed to find out if capicom is one of these?), are much more secure than long period PRNGs like the Mersenne Twister, but I'm open to education on that.
I am aware that it is necessary to seed the MT correctly in order to use it for cryptographic purposes, but that doesn't seem to be a consideration here.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: A better rand() for Win32
by pKai (Priest) on Jul 31, 2007 at 12:26 UTC | |
by BrowserUk (Patriarch) on Jul 31, 2007 at 17:50 UTC | |
by BrowserUk (Patriarch) on Jul 31, 2007 at 12:33 UTC | |
|
Re^4: A better rand() for Win32
by ysth (Canon) on Jul 31, 2007 at 01:01 UTC | |
by BrowserUk (Patriarch) on Jul 31, 2007 at 01:22 UTC |