Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Giving seed to random function from system time #4

Open
aryan1165 opened this issue Sep 24, 2023 · 0 comments
Open

Giving seed to random function from system time #4

aryan1165 opened this issue Sep 24, 2023 · 0 comments

Comments

@aryan1165
Copy link
Owner

In random.m function value of x and self is given manually in places where it is being used.
For ex in startEncrypting.m x_n and self has specific value which is passed to random function for generation of random number.
Screenshot 2023-09-24 at 6 01 54 PM

So solution can be getting these x_n and self values in real time when the program runs from system time and shrinking it to specific ranges.

0<x_n<1;
0<self< any large number

Also after changing the function, do change the code wherever random function is called according to new implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant