#63 Shared, Untrusted Peer, Random Number Generator

open
nobody
None
5
2013-03-02
2003-05-01
No

Here's my first pass as a bunch of interfaces and the
core class of the shared RNG mechanism discussed
last night on IRC. Please note, I haven't bothered to
write the "interesting" classes, as we haven't come to a
final decision on those yet. When we make decisions,
we can start writing them up and integrating the
package into the code.

Also, I've left the networking and auditing sides of the
problem out. I don't know if they belong in this package
or not.

Deadeye00, does my implementation meet the
requirements for separation of the seedling generator
(TrustedRNG) from the game generator
(SharedRNG#SeededRNG)?

Discussion

  • James Damour

    James Damour - 2003-05-02

    Logged In: YES
    user_id=492951

    I realized that, to be truely flexible (and to support multiple
    levels of paranoia), this package needs to have a seedling
    factory. This way, anyone can come up with their own way of
    encrypting and protecting seedlings, and each
    implementation can define what is (and is not) a valid
    seedling and decrypt key.

    For example, to use stainedglass' "send the has of the
    seedling, then seed the seedling to validate", the "encrypt"
    function for this implementation would ignore the value of the
    encryptKey argument and just generate a SecureSeedling
    object that contains the MD5 hash of the seedling's value.
    Similarly, the "decrypt" method of this implementation would
    accept the OpenSeedling object itself as the key (the class
    would implement the java.security.Key interface), and a
    KeyException would be thrown if the two hashes don't match.

     
  • James Damour

    James Damour - 2003-05-02

    Supporting Interfaces and the SharedRNG class.

     
  • Dylan Myers

    Dylan Myers - 2013-03-02

    What are we doing with this ancient patch?

     
  • Sebastian Brocks

    keep it Open until we have a dev smart enough to conplete implementing it

     
  • Dylan Myers

    Dylan Myers - 2013-03-02

    I'm not even sure what it's meant to be, or I'd take a better look at it. Since I wasn't privy to that IRC discussion, I'm a little lost on what the goal is.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks