General discussion

Locked

Random numbers and Tech Republic format

By zbrain75 ·
Does anyone have practical formulas to generate 512 bit random numbers that will work in C or a similar language? I am interested in random and pseudo random number generation. Are there any web pages on the subject? Are there any books with good programming examples? Also are there any programming examples that determine if a generated random number is prime?
To csanosi, stuart.threlfall@newellandbudge.com, and shadowtraitor, I was trying to reject only one answer, not all yours, which are still being evaluated. Sorry for the inconvenience. I sent TechRepublic a message about it. If they do not restore the original question in several days, please post any answer (or comment) on this question so I can give you the points.

This conversation is currently closed to new comments.

3 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Random numbers and Tech Republic format

by shadowtraitor In reply to Random numbers and Tech R ...

Its me again
I checked my algorithm and relised that for a 512 bit number that primality test would take extremely long. I found a primality test in the same publication I told you about before, however i do not fully understand the mathematical concept behind it but it is said that the method has a error rate of 25%. It's kinda complicated nd i think you should examine it, since i can not adequately explian it. Hope you get through with you problem

Collapse -

Random numbers and Tech Republic format

by zbrain75 In reply to Random numbers and Tech R ...

Poster rated this answer

Collapse -

Random numbers and Tech Republic format

by zbrain75 In reply to Random numbers and Tech R ...

This question was closed by the author

Back to Web Development Forum
3 total posts (Page 1 of 1)  

Related Discussions

Related Forums