Solved

RNGCryptoServiceProvider Random Numbers

Posted on 2015-02-09
2
100 Views
Last Modified: 2015-02-15
When using the Rnd Function in VB you can get the same sequence of random numbers by calling Rnd with a negative argument (Rnd(-1)), followed by Randoize with a positive numeric value (Randomize(n)) , where n is any positive number.
How can you achieve the same when using RNGCryptoServiceProvider?
0
Comment
Question by:Chris Joyce
2 Comments
 
LVL 27

Accepted Solution

by:
d-glitch earned 500 total points
ID: 40598688
I don't think that is possible.  Unpredictablity and unrepeatabity are the essential parts of the service.
0
 

Author Comment

by:Chris Joyce
ID: 40611035
Thats a pity it was a usefull feature.
Anyway I have found a way around this restriction, so i'll mark this as accepted.
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
how to send memory stream from ics Client To ics server ? 11 110
Hide vba in gp 7 95
index Out OF Range Exception error 4 62
Full Screen problem when auto scale IFRAME 2 81
This is about my first experience with programming Arduino.
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

778 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question