Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: A better rand() for Win32

by bart (Canon)
on Jul 31, 2007 at 20:44 UTC ( [id://629926]=note: print w/replies, xml ) Need Help??


in reply to Re: A better rand() for Win32
in thread A better rand() for Win32

If you look at the paper describing the Mersenne Twister, one of the first sentences you can read in the FAQ is:
Mersenne Twister is not cryptographically secure.
Since this post here specifically mentions suitability for cryptographic purposes, at least, in its categorization, it should immediately be clear what its alleged advantage over Math::Random::MT is.

Replies are listed 'Best First'.
Re^3: A better rand() for Win32
by BrowserUk (Patriarch) on Jul 31, 2007 at 21:15 UTC
    Since this post here specifically mentions suitability for cryptographic purposes

    Read again.

    The only mention of 'cryptography' is the bland statement: " Cryptographically generated random numbers gather entropy to seed there generators." which is, by no reading that I can ascribe, the same as "suitability for cryptographic purposes".

    And, it might serve your purpose better to read an entire thread before going off half cocked.


    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.
      He says "cryptographically secure random number generator". How can I be misreading that?

        Oh. I see. The author says in the the comments of his 10 line Perl script that it is a "cryptographically secure random number generator", and so you take that at face value and believe it?

        Or, perhaps, you might investigate what makes it such. For example, you might see the reference to a third party library and wonder what that's about. And if your investigations of that didn't lead you to suitable information, you might come back and ask one or two questions of the author. Like maybe, what makes this cryptographically secure as opposed to the current best-of-breed PRNG, the Mersenne Twister.

        Or then again, maybe you wouldn't. But of course, you don't have to, because I already did that.

        You might also wonder about the security of a CSPRNG that exposes itself to 'remote code execution vulnerabilities'. Or not. But again, you do not have to, because I already did that too.


        Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
        "Science is about questioning the status quo. Questioning authority".
        In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://629926]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (5)
As of 2024-04-25 14:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found