Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Hi all,  
Im quite comfortable with php but new to encryption, could someone please
highlight when encryption would be a good thing.  

Also:is there a reverse of the md5 function? ( in other words in what way is
md5 ( + the others sha...)used?

Re: md5

Greger wrote:

Quoted text here. Click to load it

   When you have a secret to protect?

Quoted text here. Click to load it

   Ehh... no.  MD5 is a one-way hash ( ).  
  You really ought to have a look at some literature, maybe start here:


Re: md5

*** Greger wrote/escribió (Thu, 18 Aug 2005 14:21:42 +0200):
Quoted text here. Click to load it

MD5 is a hash that's normally displayed as a 32 character string. That
means that even the MD5 hash of a 2GB files is 32 byte long: if it was
reversable we would have found the most amazing compression algorithm ;-)

Encryption can be rather complicate. I suggest you first define your needs
and then find solutions for them.

Hashes have several usages:  

* Test file integrity
* Password storage (you cannot decrypt passwords, yet you can encrypt the
value provided by user and compare)

-- Álvaro G. Vicario - Burgos, Spain
-- - Mi sitio sobre programación web
-- Don't e-mail me your questions, post them to the group

Re: md5

Why not use something like:
This will encrypt the php source


Quoted text here. Click to load it
way is

Re: md5

No one is talking about ecrypting the php source here...

The question was: how does one ecrypt data... not their source files.

zen wrote:
Quoted text here. Click to load it

Site Timeline