Jump to content


encrypt & decrypt? *SOLVED*


  • Please log in to reply
9 replies to this topic

#1 Guest_askjames01_*

Guest_askjames01_*
  • Guests

Posted 13 May 2006 - 08:16 PM

hey, guys can you please help me recall the right functions
for encryption and decryption.

and where i suppose to use this? the most appropriate case?

i know md5 and sha1 cannot be decrypted.

so what was that again, i mean the functions that can encrypt and decrypt.


thanks n advance.



-maybe i'm having this alzimer disease.



#2 .josh

.josh
  • Staff Alumni
  • .josh
  • 14,871 posts

Posted 13 May 2006 - 08:21 PM

[a href=\"http://www.php.net/mcrypt_encrypt\" target=\"_blank\"]http://www.php.net/mcrypt_encrypt[/a]
[a href=\"http://www.php.net/mcrypt_decrypt\" target=\"_blank\"]http://www.php.net/mcrypt_decrypt[/a]


Did I help you? Feeling generous? Buy me lunch! 
Please, take the time and do some research and find out how much it would have cost you to get your help from a decent paid-for source. A "roll-of-the-dice" freelancer will charge you $5-$15/hr. A decent entry level freelancer will charge you around $15-30/hr. A professional will charge you anywhere from $50-$100/hr. An agency will charge anywhere from $100-$250/hr. Think about all this when soliciting for help here. Think about how much money you are making from the work you are asking for help on. No, we do not expect you to pay for the help given here, but donating a few bucks is a fraction of the cost of what you would have paid, shows your appreciation, helps motivate people to keep offering help without the pricetag, and helps make this a higher quality free-help community :)

#3 Guest_askjames01_*

Guest_askjames01_*
  • Guests

Posted 13 May 2006 - 08:28 PM

thanks Ms. Crayon Violent!

#4 neylitalo

neylitalo
  • Staff Alumni
  • Advanced Member
  • 1,854 posts
  • LocationMichigan, USA

Posted 13 May 2006 - 10:32 PM

And just how do you know Crayon Violent is a Ms.? [img src=\"style_emoticons/[#EMO_DIR#]/wink.gif\" style=\"vertical-align:middle\" emoid=\":wink:\" border=\"0\" alt=\"wink.gif\" /]

http://nealylitalo.net - My personal website, and home of The Netizen's Journal.

#5 toplay

toplay
  • Staff Alumni
  • Advanced Member
  • 973 posts

Posted 13 May 2006 - 10:43 PM

FYI:

mcrypt is the best thing to use, but just in case your web host doesn't have that installed, you can use blowfish encryption using this PEAR class:

[a href=\"http://pear.php.net/package/Crypt_Blowfish\" target=\"_blank\"]http://pear.php.net/package/Crypt_Blowfish[/a]

It does require PEAR though. It will use mcrypt lib if it's installed, otherwise it will use it's own routines.





#6 Guest_askjames01_*

Guest_askjames01_*
  • Guests

Posted 14 May 2006 - 03:37 AM

[!--quoteo--][div class=\'quotetop\']QUOTE[/div][div class=\'quotemain\'][!--quotec--]And just how do you know Crayon Violent is a Ms.? wink.gif [/quote]

that is just an assumption, i only use my little psychic ability.
i think it's obvious look at his avatar it looks like a feminine. :)

#7 AndyB

AndyB
  • Staff Alumni
  • Advanced Member
  • 5,465 posts
  • LocationToronto

Posted 14 May 2006 - 03:46 AM

[!--quoteo(post=373643:date=May 13 2006, 11:37 PM:name=askjames01)--][div class=\'quotetop\']QUOTE(askjames01 @ May 13 2006, 11:37 PM) View Post[/div][div class=\'quotemain\'][!--quotec--]
that is just an assumption, i only use my little psychic ability.
i think it's obvious look at his avatar it looks like a feminine. :)
[/quote]
er, wouldn't that be her avatar [img src=\"style_emoticons/[#EMO_DIR#]/wink.gif\" style=\"vertical-align:middle\" emoid=\":wink:\" border=\"0\" alt=\"wink.gif\" /]

Legend has it that reading the manual never killed anyone.
My site

#8 .josh

.josh
  • Staff Alumni
  • .josh
  • 14,871 posts

Posted 14 May 2006 - 05:39 AM

lol.

actually, i'm officially a him. the avatar is just something I use because of a joke a long long time ago on a board far far away. It kinda stuck with me.
Did I help you? Feeling generous? Buy me lunch! 
Please, take the time and do some research and find out how much it would have cost you to get your help from a decent paid-for source. A "roll-of-the-dice" freelancer will charge you $5-$15/hr. A decent entry level freelancer will charge you around $15-30/hr. A professional will charge you anywhere from $50-$100/hr. An agency will charge anywhere from $100-$250/hr. Think about all this when soliciting for help here. Think about how much money you are making from the work you are asking for help on. No, we do not expect you to pay for the help given here, but donating a few bucks is a fraction of the cost of what you would have paid, shows your appreciation, helps motivate people to keep offering help without the pricetag, and helps make this a higher quality free-help community :)

#9 Guest_askjames01_*

Guest_askjames01_*
  • Guests

Posted 14 May 2006 - 07:09 AM

[!--quoteo--][div class=\'quotetop\']QUOTE[/div][div class=\'quotemain\'][!--quotec--]er, wouldn't that be her avatar[/quote]

actually i know how to use his or her...
i'm just also a little confused wether i use her or his...

we are all confused aren't we?

but now i think the grammar --> his is right.
as crayon violent reveal the truth... Mr. Crayon Violent?


[img src=\"style_emoticons/[#EMO_DIR#]/smile.gif\" style=\"vertical-align:middle\" emoid=\":smile:\" border=\"0\" alt=\"smile.gif\" /]

#10 .josh

.josh
  • Staff Alumni
  • .josh
  • 14,871 posts

Posted 14 May 2006 - 01:00 PM

(p.s.- no i'm not some kind of drag queen. i'm happily married with 3 little brats [img src=\"style_emoticons/[#EMO_DIR#]/laugh.gif\" style=\"vertical-align:middle\" emoid=\":laugh:\" border=\"0\" alt=\"laugh.gif\" /] )
Did I help you? Feeling generous? Buy me lunch! 
Please, take the time and do some research and find out how much it would have cost you to get your help from a decent paid-for source. A "roll-of-the-dice" freelancer will charge you $5-$15/hr. A decent entry level freelancer will charge you around $15-30/hr. A professional will charge you anywhere from $50-$100/hr. An agency will charge anywhere from $100-$250/hr. Think about all this when soliciting for help here. Think about how much money you are making from the work you are asking for help on. No, we do not expect you to pay for the help given here, but donating a few bucks is a fraction of the cost of what you would have paid, shows your appreciation, helps motivate people to keep offering help without the pricetag, and helps make this a higher quality free-help community :)




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users