Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °

You are not logged in.

#1 2013-10-01 13:35:48

Agnishom
Real Member

Online

Cracking PRNGs

How do you predict the output of a pseudo random software number generator?

'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.'
'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'
'The whole person changes, why can't a habit?' -Alokananda

#2 2013-10-01 17:51:52

bobbym

Offline

Re: Cracking PRNGs

Do you have the generator?

In mathematics, you don't understand things. You just get used to them.
Some cause happiness wherever they go; others, whenever they go.
If you can not overcome with talent...overcome with effort.

#3 2013-10-02 02:56:51

Agnishom
Real Member

Online

Re: Cracking PRNGs

Umm... yeah. But no hint what kind of a generator it is. I am certain that it does not take entropy from the operating system

'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.'
'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'
'The whole person changes, why can't a habit?' -Alokananda

#4 2013-10-02 03:07:46

bobbym

Offline

Re: Cracking PRNGs

I have seen contrived questions where from the data you can deduce what the generator looks like. But theoretically this is very, very difficult if not impossible. But in practice, poor implementation or bad seeds can make the job somewhat easier. It is known that both Windoze and Lunix have security flaws in their prngs.

In mathematics, you don't understand things. You just get used to them.
Some cause happiness wherever they go; others, whenever they go.
If you can not overcome with talent...overcome with effort.

#5 2013-10-02 12:00:18

Agnishom
Real Member

Online

Re: Cracking PRNGs

No, what's that?

Okay, this is not a Windoze or Lunix prng. Besides I do not know how to execute the prng on Windoze.

As far as I know, the only flaw is that the OS can be flushed with a state of known entropy

Last edited by Agnishom (2013-10-02 12:03:38)

'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.'
'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'
'The whole person changes, why can't a habit?' -Alokananda

#6 2013-10-02 12:38:11

bobbym

Offline

Re: Cracking PRNGs

The papers probably describe how to. Why do you want to?

In mathematics, you don't understand things. You just get used to them.
Some cause happiness wherever they go; others, whenever they go.
If you can not overcome with talent...overcome with effort.

#7 2013-10-03 00:01:50

Agnishom
Real Member

Online

Re: Cracking PRNGs

Because its fun. Being able to predict things are fun.

However, I really do not want to crack the human PRNGs which determine their moods.

Last edited by Agnishom (2013-10-03 00:02:24)

'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.'
'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'
'The whole person changes, why can't a habit?' -Alokananda

#8 2013-10-03 00:05:25

bobbym

Offline

Re: Cracking PRNGs

Human prngs? What are those?

In mathematics, you don't understand things. You just get used to them.
Some cause happiness wherever they go; others, whenever they go.
If you can not overcome with talent...overcome with effort.

#9 2013-10-03 00:48:23

Agnishom
Real Member

Online

Re: Cracking PRNGs

Brains. Which get entropy from

a) the level of fulfilment of the stomach
b) the amount of money one posseses
c) several stimulus
d) past memories
e) past entropies
f) entropies from others
.
.
xyz) and much more

'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.'
'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'
'The whole person changes, why can't a habit?' -Alokananda

#10 2013-10-03 00:50:51

bobbym

Offline

Re: Cracking PRNGs

Entropies? How do you define that?

In mathematics, you don't understand things. You just get used to them.
Some cause happiness wherever they go; others, whenever they go.
If you can not overcome with talent...overcome with effort.

#11 2013-10-03 00:53:47

Agnishom
Real Member

Online

Re: Cracking PRNGs

Hmm

I do not know. I think I have been reading the wiki for too long

'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.'
'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'
'The whole person changes, why can't a habit?' -Alokananda

#12 2013-10-03 00:55:31

bobbym

Offline

Re: Cracking PRNGs

So what are you trying to do here?

In mathematics, you don't understand things. You just get used to them.
Some cause happiness wherever they go; others, whenever they go.
If you can not overcome with talent...overcome with effort.

#13 2013-10-03 01:00:50

Agnishom
Real Member

Online

Re: Cracking PRNGs

Learn to crack PRNGs

'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.'
'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'
'The whole person changes, why can't a habit?' -Alokananda

#14 2013-10-03 01:03:17

bobbym

Offline

Re: Cracking PRNGs

And when you have done that?

In mathematics, you don't understand things. You just get used to them.
Some cause happiness wherever they go; others, whenever they go.
If you can not overcome with talent...overcome with effort.

#15 2013-10-03 01:04:38

Agnishom
Real Member

Online

Re: Cracking PRNGs

I've not done that. I am willing to do it.

'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.'
'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'
'The whole person changes, why can't a habit?' -Alokananda

#16 2013-10-03 01:06:26

bobbym

Offline

Re: Cracking PRNGs

There are two approaches both difficult. A math attack and a debugger.

In mathematics, you don't understand things. You just get used to them.
Some cause happiness wherever they go; others, whenever they go.
If you can not overcome with talent...overcome with effort.

#17 2013-10-03 01:10:09

Agnishom
Real Member

Online

Re: Cracking PRNGs

Can you teach me those or any one of those?

'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.'
'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'
'The whole person changes, why can't a habit?' -Alokananda

#18 2013-10-03 01:13:57

bobbym

Offline

Re: Cracking PRNGs

For the general problem you are asking I do not think so. I was still learning myself.

In mathematics, you don't understand things. You just get used to them.
Some cause happiness wherever they go; others, whenever they go.
If you can not overcome with talent...overcome with effort.

#19 2013-10-03 01:17:37

Agnishom
Real Member

Online

Re: Cracking PRNGs

Ok, can you tell how you're learning?

'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.'
'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'
'The whole person changes, why can't a habit?' -Alokananda

#20 2013-10-03 01:24:33

bobbym

Offline

Re: Cracking PRNGs

Know what a reverse engineer is?

Got to go offline, see you tomorrow.

In mathematics, you don't understand things. You just get used to them.
Some cause happiness wherever they go; others, whenever they go.
If you can not overcome with talent...overcome with effort.

#21 2013-10-03 01:37:37

Agnishom
Real Member

Online

Re: Cracking PRNGs

I've a little idea.

Tomorrow with respect to whom?

'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.'
'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'
'The whole person changes, why can't a habit?' -Alokananda

#22 2013-10-03 07:29:18

bobbym

Offline

Re: Cracking PRNGs

To you I would say. By the time I am done you will be sleeping.

In mathematics, you don't understand things. You just get used to them.
Some cause happiness wherever they go; others, whenever they go.
If you can not overcome with talent...overcome with effort.

#23 2013-10-03 11:56:56

Agnishom
Real Member

Online

Re: Cracking PRNGs

What if we are not allowed to use a debugger?
What if we are cracking a PRNG on a remote computer?

'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.'
'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'
'The whole person changes, why can't a habit?' -Alokananda

#24 2013-10-03 17:08:54

bobbym

Offline

Re: Cracking PRNGs

To access the prng of the operating system on a foreign machine you would need to cause a buffer overflow error. Of course such a result would qualify as a malicious act.

In mathematics, you don't understand things. You just get used to them.
Some cause happiness wherever they go; others, whenever they go.
If you can not overcome with talent...overcome with effort.

#25 2013-10-03 21:35:00

Agnishom
Real Member

Online

Re: Cracking PRNGs

What if it does not belong to the OS?

'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.'
'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'
'The whole person changes, why can't a habit?' -Alokananda