CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.security Tags:
Item Type: NewsGroup Date Entered: 3/20/2008 1:24:39 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 3 Views: 20 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
4 Items, 1 Pages 1 |< << Go >> >|
sarskirulz
Asp.Net User
how to generate a set of numbers under certain condition, and randomly select a number from that set?3/20/2008 1:24:39 PM

0/0

Hi all...

Does anybody know how to generate a set numbers under certain condition, and then randomly select one number from that set?? This is related to RSA key generation.

        For example:

        p = 2, q = 5 ----> ?(n) = (2-1)(5-1) = 4

           then Z10* = {1, 3, 7, 9}

           The elements of Z10* should consist of 4 numbers (starting from 1, not 0) and should not be divisible by 4

           Then, the value of w has to be randomly selected only from that set

 

I am having a problem in writing the C# code for this algorithm since I practically know nothing about C#, but my project is due in 3 weeks Sad. If anyone could kindly help me in this, I would be extremely grateful. 

Regards,

Sarah


 

pgnanaprakash
Asp.Net User
Re: how to generate a set of numbers under certain condition, and randomly select a number from that set?3/30/2008 1:11:28 PM

0/0

Please have a look at this URL

http://www.koders.com/csharp/fid47437436A93869DA4F085BC2467E0970629BFE6C.aspx


A Journey of Thousand miles must begin with a single step.
sarskirulz
Asp.Net User
Re: how to generate a set of numbers under certain condition, and randomly select a number from that set?3/30/2008 1:42:55 PM

0/0

Thank you sooooo much!! It really helped me! YesYes

sarskirulz
Asp.Net User
Re: how to generate a set of numbers under certain condition, and randomly select a number from that set?3/30/2008 1:43:10 PM

0/0

Thank you sooooo much!! It really helped me! YesYes

4 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Mathematics: From the Birth of Numbers Authors: Jan Gullberg, Pages: 1093, Published: 1997
Principles and Methods of Toxicology: 4th Edition Authors: Andrew Wallace Hayes, Pages: 1887, Published: 2001
Handbook for Teaching Statistics and Research Methods Authors: Mark E. Ware, Charles L. Brewer, Pages: 287, Published: 1999
Advances in Mechanics of Structures and Materials: Proceedings of the 17th Australasian Conference (ACMSM17), Queensland, Australia, 12-14 June 2002 Authors: Yew-Chaye Loo, S. H. Chowdhury, Sam Fragomeni, Pages: 788, Published: 2002
Information Security and Privacy: First Australian Conference, ACISP '96, Wollongong, NSW, Australia, June 24-26, 1996 : Proceedings Authors: Josef Pieprzyk, Jennifer Seberry, Pages: 331, Published: 1996
Digest of Technical Papers: November 18-November 21, 1985, Marriott Hotel, Santa Clara, California Authors: IEEE Computer Society, IEEE Circuits and Systems Society, Pages: 361, Published: 1985
The 10th IEEE International Conference on Fuzzy Systems: Meeting the Grand Challenge : Machines that Serve People : December, 2001, Sunday 2nd to Wednesday 5th Authors: IEEE Neural Networks Council, Institute of Electrical and Electronics Engineers, University of Melbourne, Pages: 1322, Published: 2001

Web:
True random numbers generator: BASIC programming source code ... In the case of the combination set, the random numbers are unique (per line) and ... The second essential condition for true random number generation is the ...
This file has information and documentation for using the rnm.exe ... Enter the number of random numbers that are wanted for a set. In other situations it will not be meaningful to generate the numbers in groups and 1 will be ...
Generation of a random number that is non-divisible by a set of ... A random number that is co-prime with a set of prime numbers is ... of the simplest ways to generate a random prime number is to select a random number q, ...
Random Selection Generate a random list (with an intermediate random number list) that changes ... Return a specified number of random numbers from a set of numbers with a ...
RANDOM.ORG - Introduction to Randomness and Random Numbers When discussing single numbers, a random number is one that is drawn from a set of possible values, each of which is equally probable, i.e., ...
Microsoft PowerPoint - 6.ppt Set 6. 6. Random Generators. • True random number generators: ... Ranks of matrices: Select some number of bits from some number of random numbers to form a ...
Random Number Generation Using the MSP430 possible to generate random numbers without such hardware. ... SMCLK is set to the DCO and set as the input clock to Timer_A. ACLK. is set to the VLO, ...
how does a computer generate a random number? [Archive] - 3D ... While it is true that under certain conditions this method can produce ... Pseudo random numbers are generated using a pseudo random number ...
Medical Hypotheses : Humans cannot consciously generate random ... The paper “Humans can consciously generate random numbers sequences… ... of random number generation (RNG), the subjects need to remember the base set and ...
A certain generalization of the law of the iterated logarithm
Videos:
Hidabroot אסטרולגיה Astrologia astrology עוד לפני אלפי שנים עסקו אנשי העולם העתיק בחקר Astrologia מידע הטמון בקרבי השמים אודות גורלו של האדם ואופיו. האיצטגנינות או בשמה המודרני ...
Zero Configuration networking with Bonjour Google TechTalks November 2, 2005 Dr. Stuart Cheshire, Apple Computer http://www.stuartcheshire.org/ ABSTRACT The desirability of making ...




Search This Site:










question about storing data with caching vs session

modules for v2.0.3

immediate help in asp.net link button

asp.net configuration tool and sql 2000

set treenode image in code behind (vb)

how to add css

question:about set focus to a button!

compiled .net 1.1 components in vwd?

gridview cannot display data using objectdatasource

blog module install error: out of disk space?

error writing structure to file

text color problem

image file size

dynamic asp.net links

dnnupdate news

forced sort order in web matrix

save html as excel file

referencing placeholder control

assigning additional information to registered users

w.bloggar enpoint problems

error message when i log-in as administrator or host

need help with variables!

how to get a the username by userid?

how to add a swf animation on to asp.net page??

how set default encoding

what is the best solution when sending mail by smtp ?

request to fix a bug!!!

ais-ec 2.0 release date?

csk difficult to understand

please help--asp.net configuration website not working!

 
All Times Are GMT