Forums: Php Encryption - Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Php Encryption trying my hands on encryption

#1 User is offline   blackbrain 

  • Private
  • Icon
  • Group: Members
  • Posts: 19
  • Joined: 06-November 05

Posted 04 December 2005 - 02:02 AM

hey buddies can some body give me code and a good explanation on encrypting a text using a php scripts. i just want to learn to encrypt a text and decrypt it back. Hope you will help me
0

#2 Guest_Necrocide_*

  • Group: Guests

Posted 04 December 2005 - 02:08 AM

What kind of encrypting? MD5? Please be more specific...
0

#3 User is offline   stay 

  • Master Sergeant
  • Icon
  • Group: Members
  • Posts: 493
  • Joined: 19-June 05

Posted 04 December 2005 - 04:24 AM

@Necrocide: you ever tried to decrypt md5?^^

have a look at e.g. base64_encode and base64_decode (use the function list on http://php.net), maybe this one could be also interesting for you: http://php.net/manua.../ref.mcrypt.php
0

#4 Guest_Necrocide_*

  • Group: Guests

Posted 04 December 2005 - 04:36 AM

View Poststay, on Dec 4 2005, 05:23 PM, said:

@Necrocide: you ever tried to decrypt md5?^^

have a look at e.g. base64_encode and base64_decode (use the function list on http://php.net), maybe this one could be also interesting for you: http://php.net/manua.../ref.mcrypt.php


Decrypting? Not alone, hehe - I was just awaiting his answer before I explain that it is not that easy to decrypt md5. But if he is thinking of encrypt some text in php, he could use, eehh:

<?
$encryptthis = "You never guess this!";
$result = md5($encryptthis);
echo "Decrypted: $encryptthis - Encrypted: $result";
?>

0

#5 User is offline   ReVenGer 

  • Private
  • Icon
  • Group: Members
  • Posts: 4
  • Joined: 28-November 05

Posted 04 December 2005 - 07:46 PM

There's many librairies for PHP who permit to encrypt, in blowfish, sha-1...
With mcrypt()

This post has been edited by ReVenGer: 04 December 2005 - 10:45 PM

0

#6 User is offline   Dennis 

  • Specialist
  • Icon
  • Group: Specialist
  • Posts: 2,528
  • Joined: 08-September 04

Posted 05 December 2005 - 05:06 AM

i made a rsa encryptor a while back.
ill post it tomorrow
Read the rules to prevent yourself from getting banned

"Battle not with monsters, lest ye become a monster. And if thou gaze long into the abyss, the abyss will also gaze into thee.
"
- Friedrich Wilhelm Nietzsche

0

#7 User is offline   pavin 

  • Private
  • Icon
  • Group: Members
  • Posts: 12
  • Joined: 19-June 05

Posted 11 December 2005 - 01:55 AM

hey can u give me soem articles related to encryption except MD5. I mean the one which will encrypt the text into different text when encrypted
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users

  • Share



Our Sponsors:


SwiftLayer Affiliate Web Hosting