crypting help

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
cheatboy00
Forum Contributor
Posts: 151
Joined: Sat Jun 29, 2002 10:36 am
Location: canada
Contact:

crypting help

Post by cheatboy00 »

i wanted to know what types of crypting are their to use... (heard from a friend theres more than one)

also if i crypt something, like say "work" (without quotes), and crypt the same word again (somewhere else), will they be the same jibberish stuff that comes out or will it be different?
Jose Arce
Forum Commoner
Posts: 37
Joined: Wed May 01, 2002 5:05 pm

Post by Jose Arce »

i guess it's the same...because of this:

lets say you have a password encrypted, and you want to compare it to the password that the user provide...should be the same right?
gnu2php
Forum Contributor
Posts: 122
Joined: Thu Jul 11, 2002 2:53 am

Post by gnu2php »

:arrow: There's some info about encryption on the PHP Manual
http://www.php.net/manual/en/ref.mcrypt.php
EricS
Forum Contributor
Posts: 183
Joined: Thu Jul 11, 2002 12:02 am
Location: Atlanta, Ga

A little confused

Post by EricS »

also if i crypt something, like say "work" (without quotes), and crypt the same word again (somewhere else), will they be the same jibberish stuff that comes out or will it be different?
What do you mean crypt and then crypt some where else? On a different site?

If you crypt a password on two different sites and use the same encryption function and same salt then it will be the same. If the previous two stipulations aren't meet, then it will not have the same results.
User avatar
cheatboy00
Forum Contributor
Posts: 151
Joined: Sat Jun 29, 2002 10:36 am
Location: canada
Contact:

Post by cheatboy00 »

pfffffff

damn i got no idea what the hll these guys are saying (at the php manual)
erg...
Post Reply