Re: Is there any way...

Rob Hagopian (linker@nightshade.ml.org)
Tue, 24 Feb 1998 16:31:38 -0500 (EST)


Only if you can have some secret stored someplace..

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