Re: Is there any way...

Sergei Viznyuk (sergei@phystech.com)
Tue, 24 Feb 1998 18:53:05 -0500 (EST)


On Tue, 24 Feb 1998 linker@nightshade.ml.org wrote:

}
} Only if you can have some secret stored someplace..

well, that's defeats the purpose.

The source code (i.e. all "secret places")
should be available to everyone,
but whoever executes this source code
should get his/her own unique number
and he/she should have NO way of knowing or guessing
what number other user would get.

That's the problem.

I thought there might be some global variable(s)
assigned to each user process which are
unique to each user but are unknown to other
users and which I might use as a seed to
srandom() to generate that "unique number"
I'm looking for.

Thanks,
Sergei


} Then do something like
}
} (((n bit prime secret) ^ (uid)) mod n)
}
} What the heck are you trying to do?
}
} On Tue, 24 Feb 1998, Sergei Viznyuk wrote:
}
} >
} > Hi !
} >
} > I need to generate some unique number or string
} > based on real user ID of the process, so
} > that
} > 1. the number is independent of OS version
} > 2. reproducible
} > 3. other user ID would not be able to generate
} > the same number even if he got a hold on
} > a source code
} >
} > is there anything which can help me with that?
} >
} > Thanks,
} > Sergei
} >
} >
} >
} > -
} > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
} > the body of a message to majordomo@vger.rutgers.edu
} >
}

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu