473,327 Members | 1,896 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

PRNG writing

I need to write a cryptographically secure pseudorandom number
generator[PRNG] for a crypto app I'm writing; if you could give me some
example code, that'd be great. Thanks for the help!!!

Sep 13 '05 #1
7 1987
* Protoman:
I need to write a cryptographically secure pseudorandom number
generator[PRNG] for a crypto app I'm writing; if you could give me some
example code, that'd be great. Thanks for the help!!!


What is the C++ question?

--
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
Sep 13 '05 #2
Protoman wrote:
I need to write a cryptographically secure pseudorandom number
generator[PRNG] for a crypto app I'm writing; if you could give me some
example code, that'd be great. Thanks for the help!!!


Your post is off topic here. Try [sci.crypt.random-numbers].
Best

Kai-Uwe Bux
Sep 13 '05 #3

"Protoman" <Pr**********@gmail.com> wrote in message
news:11**********************@g44g2000cwa.googlegr oups.com...
I need to write a cryptographically secure pseudorandom number
generator[PRNG] for a crypto app I'm writing; if you could give me some
example code, that'd be great. Thanks for the help!!!


What... you mean you're done computing pi to infinite precision... already?

Sep 13 '05 #4
"Protoman" <Pr**********@gmail.com> wrote in message
news:11**********************@g44g2000cwa.googlegr oups.com...
I need to write a cryptographically secure pseudorandom number
generator[PRNG] for a crypto app I'm writing; if you could give me some
example code, that'd be great. Thanks for the help!!!


Is this for your work at the university you work for or your NASA job?
Sep 13 '05 #5
The NSA is borrowing me for a while...

Sep 13 '05 #6
Protoman wrote:
The NSA is borrowing me for a while...


Thanks for the bulletin. Why would we care?

Brian
Sep 13 '05 #7
On 13 Sep 2005 14:48:19 -0700, "Protoman" <Pr**********@gmail.com> wrote:
The NSA is borrowing me for a while...


You are a sad, sad child.

Welcome to my killfile!
Sep 14 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

48
by: Joseph | last post by:
Hi I'm writing a commercial program which must be reliable. It has to do some basic reading and writing to and from files on the hard disk, and also to a floppy. I have foreseen a potential...
4
by: John Schutkeker | last post by:
Does anybody know what pseudo-random number generator was used to implement the RAN() function in the C standard math library? Knuth couldn't have gone so far as to implement a quadratic...
5
by: Jeong-Gun Lee | last post by:
I'm writing a code of writing a value to a specific memory address. ================================================================= #include <stdio.h> int main() { long air; long...
102
by: Xah Lee | last post by:
i had the pleasure to read the PHP's manual today. http://www.php.net/manual/en/ although Pretty Home Page is another criminal hack of the unix lineage, but if we are here to judge the quality...
31
by: pinkfloydhomer | last post by:
Using rand() in and old version og gcc, and using Tausworth's method, I calculated the frequency of 0 or 1 in the first digit like this: int hist = {0,0}; for (i = 0; i < 100000; ++i) {...
16
by: Claudio Grondi | last post by:
I have a 250 Gbyte file (occupies the whole hard drive space) and want to change only eight bytes in this file at a given offset of appr. 200 Gbyte (all other data in that file should remain...
89
by: Skybuck Flying | last post by:
Hello, This morning I had an idea how to write Scalable Software in general. Unfortunately with Delphi 2007 it can't be done because it does not support operating overloading for classes, or...
55
by: copx | last post by:
Can anyone point me to a simple, fast RRNG function to generate random ints within a specified range? It is important that each value within the range has the same probability (uniform...
0
by: Adem24 | last post by:
I put the CMWC4096 PRNG of Prof. Marsaglia into a simple C++ class. It works as intended, ie. as a 32-bit PRNG. But my question is: what must be changed in the code to make an LCG of it? <...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.