nntp2http.com
Posting
Suche
Optionen
Hilfe & Kontakt

Re: One way hash?

Von: Francis Glassborow (francis.glassborow@btinternet.com) [Profil]
Datum: 04.07.2008 13:01
Message-ID: <iv-dnUMd-IqPnvPVnZ2dnUVZ8qXinZ2d@bt.com>
Newsgroup: comp.games.development.programming.algorithms alt.comp.lang.learn.c-c++
newbie wrote:
> I think what I need is a one-way hash, but I am not sure?
>
> I need to "convert" a string into a "unique" integer (or very
low risk
> of collision, it doesn't have to be perfect), in a C-like language that
> does not have pointers!

In that case post to a newsgroup supporting your language. Sorry, but
however much you think it is C like, if it does not have pointers it is
very different from C.
>
> First, is what I am looking for called a one-way hash?
> Second, does anyone have an algorithm for doing such a thing?
>
> (... and no, this isn't homework :) )
Algorithms is a different newsgroup.
Francis

[ Auf dieses Posting antworten ]

Antworten