Jump to content

Type of encryption!


REH

Recommended Posts

  • 4 weeks later...

34 characters.. with $1$ look like MD5 for php...  i believe it is the crypt function.. here is what i found.. http://www.php.net/manual/en/function.crypt.php

<?php

if (CRYPT_STD_DES == 1) {

  echo 'Standard DES: ' . crypt('rasmuslerdorf', 'rl') . "n";

}

if (CRYPT_EXT_DES == 1) {

  echo 'Extended DES: ' . crypt('rasmuslerdorf', '_J9..rasm') . "n";

}

if (CRYPT_MD5 == 1) {

  echo 'MD5:          ' . crypt('rasmuslerdorf', '$1$rasmusle$') . "n";

}

if (CRYPT_BLOWFISH == 1) {

  echo 'Blowfish:    ' . crypt('rasmuslerdorf', '$2a$07$rasmuslerd...........$') . "n";

}

?>

The above example will output something similar to:

Standard DES: rl.3StKT.4T8M

Extended DES: _J9..rasmBYk8r9AiWNc

MD5:          $1$rasmusle$rISCgZzpwk3UhDidwXvin0

Blowfish:    $2a$07$rasmuslerd............nIdrcHdxcUxWomQX9j6kvERCFjTg7Ra

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...