Reply to Re: Integer to code and back

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация