|
Posted by Iván Sánchez Ortega on 01/03/07 21:18
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Tom wrote:
>> - - A hash table.
>
> Hmm doesn't ring a bell, and google gives me oodles of stuff that is not
> directly related.
> Could you please provide me with an example in pseudo code or something?
Basically, you generate a table that you store somewhere, and relates every
integer you can think of with its hash.
Got a new integer? Calculate the hash and store it in the table. Got a hash?
Check if it exists in the table.
How you exactly hash the integers is your problem, tough.
>> - - A simetric encryption function.
>
> Well, same result when googling. The concept exists but apparently
> everybody knows it so well they don't explain it but just refer to it :-D
> An example please?
RTFM. php.net/mcrypt
- --
- ----------------------------------
Iván Sánchez Ortega -ivansanchez-algarroba-escomposlinux-punto-org-
Un ordenador no es un televisor ni un microondas, es una herramienta
compleja.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFFnB3ER56dWuhgxGgRArsGAJ0WTtAWZfRU+TfGWf8ZtNWC1Y+KMACfcXBu
QH8OlXlAYsPnd1lNVrkgHlQ=
=8jDe
-----END PGP SIGNATURE-----
[Back to original message]
|