Přehlašovaci méno: Kózelny sluvko:
Zapsáni novyho oževatela
Ovaděč: Hrqls , coan.net , rod03801 
 BrainKing.com

Board for everybody who is interested in BrainKing itself, its structure, features and future.

If you experience connection or speed problems with BrainKing, please visit Host Tracker and check "BrainKing.com" accessibility from various sites around the world. It may answer whether an issue is caused by BrainKing itself or your local network (or ISP provider).

World Of Chess And Variants (videos from BrainKing): YouTube
Chess blog: LookIntoChess.com


Véčet klobu na mloveni
Mód: Každé može datlovat
Večmochat v plkách:  

30. lestopado 2011, 17:24:04
Thom27 
O čem je toďten plk: Re: the old randomness topic...
Aganju: Me too! Somtimes, when I went quickly from one back-/nackgammon game to another, I got the same dice roll again. I wasn't sure if it is a bug, it may have been coincidence. But if others observe it too, there must be something about it.

I generally don't trust the dice generation on BK very much.

There is a way to solve this topic: by using a CSPRNG (cryptographically secure pseudorandom number generator). It is surprisingly easy to program one by using a block cipher like XTEA and encrypt a counter value to obtain random numbers, with a secret key. The code may be published so that the users know that the random number generation is well programmed. The random numbers cannot be predicted, though, if the key is kept secret. One might even use a different key for every game and publish the key after the game has ended, so that the users can check if the random numbers in their game have been created correctly.

Datom a hodine
Kamoši, co só toť
Oblébeny klobe na mloveni
Spolke
Vechetávka dňa
Copyright © 2002 - 2024 Filip Rachůnek, šecke nároke vehrazeny.
Zpátke do vrcho