multiseed rng
Forum » Miscellaneous / Open Topic » multiseed rng
Started by: bxsciencerbxsciencer
On: 1256872470|%e %b %Y, %H:%M %Z|agohover
Number of posts: 9
rss icon RSS: New posts
multiseed rng
bxsciencerbxsciencer 1256872470|%e %b %Y, %H:%M %Z|agohover

i probably asked this before but, is there any rng that uses more than 1 seed? I cant find any that uses 4 or 5 seeds


Visit Calccrypto for info on crypto

unfold multiseed rng by bxsciencerbxsciencer, 1256872470|%e %b %Y, %H:%M %Z|agohover
Re: multiseed rng
DarkerLineDarkerLine 1256924100|%e %b %Y, %H:%M %Z|agohover

Why would it matter? You can seed any RNG with as many seeds as you want by first combining them in a suitable manner.

unfold Re: multiseed rng by DarkerLineDarkerLine, 1256924100|%e %b %Y, %H:%M %Z|agohover
Re: multiseed rng
bxsciencerbxsciencer 1256926372|%e %b %Y, %H:%M %Z|agohover

okay… but i have no idea how to combine them properly to not make the output predictable


Visit Calccrypto for info on crypto

unfold Re: multiseed rng by bxsciencerbxsciencer, 1256926372|%e %b %Y, %H:%M %Z|agohover
Re: multiseed rng
builderboybuilderboy 1256944983|%e %b %Y, %H:%M %Z|agohover

Modulus arithmetic can be unpredictable :) If i remember correctly, that is how the random number generator works in the first place.

unfold Re: multiseed rng by builderboybuilderboy, 1256944983|%e %b %Y, %H:%M %Z|agohover
Re: multiseed rng
bxsciencerbxsciencer 1256951066|%e %b %Y, %H:%M %Z|agohover

yeah, but mod seems a bit strange in some way, which is why im using round( for the moment

right now, i have:

A-INPUT LENGTH- any value greater than 1
B-OUTPUT LENGTH and value greater than 1 - i would prefer not to use it
C-SUM of A (input is list)
D-lowest 2^X from B
E-TEMP LENGTH - a random length generated within the program (i forgot how to expand to get it and im too lazy to look back)

output = C(round((B^A/C)D/E,0)) - i know i can skip a few parenthesis. i'll remove them later

anyone have any idea on a good way of mixing these variables up?


Visit Calccrypto for info on crypto

last edited on 1256951177|%e %b %Y, %H:%M %Z|agohover by bxsciencer + show more
unfold Re: multiseed rng by bxsciencerbxsciencer, 1256951066|%e %b %Y, %H:%M %Z|agohover
Re: multiseed rng
builderboybuilderboy 1256960587|%e %b %Y, %H:%M %Z|agohover

maybe it would help if we knew what you were trying to do?

unfold Re: multiseed rng by builderboybuilderboy, 1256960587|%e %b %Y, %H:%M %Z|agohover
Re: multiseed rng
bxsciencerbxsciencer 1256966303|%e %b %Y, %H:%M %Z|agohover

im trying to make the mod value of my Hash 2X program more random. im trying to get it to change with the slightest variation in data, from the inputted length to the actual data that was inputted


Visit Calccrypto for info on crypto

unfold Re: multiseed rng by bxsciencerbxsciencer, 1256966303|%e %b %Y, %H:%M %Z|agohover
Re: multiseed rng
thornahawkthornahawk 1256990532|%e %b %Y, %H:%M %Z|agohover

"more random"

- That's rather subjective… what (sets of) statistical tests did you want said RNG to pass, anyway? Just go look for a long-period RNG, or if you're too cheap, there's a way to combine several linear congruential generators (each seeded differently of course) such that the period of the hybrid generator is the LCM of the periods of the components. Check the lit. Otherwise, there's always the Mersenne twister.

thornahawk

unfold Re: multiseed rng by thornahawkthornahawk, 1256990532|%e %b %Y, %H:%M %Z|agohover
Re: multiseed rng
bxsciencerbxsciencer 1257011911|%e %b %Y, %H:%M %Z|agohover

i honestly dont know what im doing, so ive run the formula through a simple loop while the numbers increase.


Visit Calccrypto for info on crypto

unfold Re: multiseed rng by bxsciencerbxsciencer, 1257011911|%e %b %Y, %H:%M %Z|agohover
New post