<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Password Encryption and Decryption Technique in PHP</title>
	<atom:link href="http://roshanbh.com.np/2008/01/encryption-and-decryption-technique-in-php.html/feed" rel="self" type="application/rss+xml" />
	<link>http://roshanbh.com.np/2008/01/encryption-and-decryption-technique-in-php.html</link>
	<description>Useful Tutorials, Scripts , Tips, and Resources for all PHP and Ajax beginners and experts .</description>
	<lastBuildDate>Tue, 07 Feb 2012 08:10:07 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Erick</title>
		<link>http://roshanbh.com.np/2008/01/encryption-and-decryption-technique-in-php.html/comment-page-1#comment-6550</link>
		<dc:creator>Erick</dc:creator>
		<pubDate>Wed, 15 Jun 2011 04:10:53 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2007/12/encryption-and-decryption-technique-in-php.html#comment-6550</guid>
		<description>I want to thank you for this ingenious &quot;encryption&quot; algorithm.  Due to your ineptitude, and that of my client&#039;s web development company, I found this algorithm used in production.   I seriously hope that you quit development before you inflict any further damage.</description>
		<content:encoded><![CDATA[<p>I want to thank you for this ingenious &#8220;encryption&#8221; algorithm.  Due to your ineptitude, and that of my client&#8217;s web development company, I found this algorithm used in production.   I seriously hope that you quit development before you inflict any further damage.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan</title>
		<link>http://roshanbh.com.np/2008/01/encryption-and-decryption-technique-in-php.html/comment-page-1#comment-6405</link>
		<dc:creator>Jonathan</dc:creator>
		<pubDate>Tue, 08 Feb 2011 08:50:51 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2007/12/encryption-and-decryption-technique-in-php.html#comment-6405</guid>
		<description>This has to be one of the worst articles on PHP encryption / password storage I have ever seen. Sadly it ranks No. 1 in google for certain related search terms.

Firstly, MD5 and SHA1 are HASHING ALGORITHMS - no encryption there - read a book

Secondly, user passwords should NEVER be reversible - if someone forgets their password then they should be sent a randomly generated one and given the option (or be forced) to change it on next login.

Third, your &#039;encryption&#039; functions are lame - just use something like mcrypt with a decent algorithm.</description>
		<content:encoded><![CDATA[<p>This has to be one of the worst articles on PHP encryption / password storage I have ever seen. Sadly it ranks No. 1 in google for certain related search terms.</p>
<p>Firstly, MD5 and SHA1 are HASHING ALGORITHMS &#8211; no encryption there &#8211; read a book</p>
<p>Secondly, user passwords should NEVER be reversible &#8211; if someone forgets their password then they should be sent a randomly generated one and given the option (or be forced) to change it on next login.</p>
<p>Third, your &#8216;encryption&#8217; functions are lame &#8211; just use something like mcrypt with a decent algorithm.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alessandro</title>
		<link>http://roshanbh.com.np/2008/01/encryption-and-decryption-technique-in-php.html/comment-page-1#comment-5608</link>
		<dc:creator>Alessandro</dc:creator>
		<pubDate>Tue, 24 Aug 2010 11:38:41 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2007/12/encryption-and-decryption-technique-in-php.html#comment-5608</guid>
		<description>Hash cracker is a web-service that allows you to encrypt your passwords
or crack your hashed passwords with MD5, SHA1 or NTLM algorithms.
You can also encode or decode texts with Base64 system.

http://www.hash-cracker.com

Video tutorial:

http://www.youtube.com/watch?v=JVxdQPdGXec</description>
		<content:encoded><![CDATA[<p>Hash cracker is a web-service that allows you to encrypt your passwords<br />
or crack your hashed passwords with MD5, SHA1 or NTLM algorithms.<br />
You can also encode or decode texts with Base64 system.</p>
<p><a href="http://www.hash-cracker.com" rel="nofollow">http://www.hash-cracker.com</a></p>
<p>Video tutorial:</p>
<p><a href="http://www.youtube.com/watch?v=JVxdQPdGXec" rel="nofollow">http://www.youtube.com/watch?v=JVxdQPdGXec</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: K. Matheny</title>
		<link>http://roshanbh.com.np/2008/01/encryption-and-decryption-technique-in-php.html/comment-page-1#comment-5086</link>
		<dc:creator>K. Matheny</dc:creator>
		<pubDate>Sat, 23 Jan 2010 20:49:09 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2007/12/encryption-and-decryption-technique-in-php.html#comment-5086</guid>
		<description>I&#039;ve always been taught that when storing sensitive data, it&#039;s needs to be a one-way encryption, meaning there should be no decryption method. You should only be able to encrypt a string and say whether or not it matches another encrypted string to determine its validity.

Not a bad article though.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve always been taught that when storing sensitive data, it&#8217;s needs to be a one-way encryption, meaning there should be no decryption method. You should only be able to encrypt a string and say whether or not it matches another encrypted string to determine its validity.</p>
<p>Not a bad article though.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: k satyadeep</title>
		<link>http://roshanbh.com.np/2008/01/encryption-and-decryption-technique-in-php.html/comment-page-1#comment-4877</link>
		<dc:creator>k satyadeep</dc:creator>
		<pubDate>Mon, 07 Dec 2009 18:29:10 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2007/12/encryption-and-decryption-technique-in-php.html#comment-4877</guid>
		<description>very useful info thanks</description>
		<content:encoded><![CDATA[<p>very useful info thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jared kidambi</title>
		<link>http://roshanbh.com.np/2008/01/encryption-and-decryption-technique-in-php.html/comment-page-1#comment-4755</link>
		<dc:creator>Jared kidambi</dc:creator>
		<pubDate>Fri, 30 Oct 2009 16:04:42 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2007/12/encryption-and-decryption-technique-in-php.html#comment-4755</guid>
		<description>I tried it out and men, this is miracle. lovely work</description>
		<content:encoded><![CDATA[<p>I tried it out and men, this is miracle. lovely work</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ray</title>
		<link>http://roshanbh.com.np/2008/01/encryption-and-decryption-technique-in-php.html/comment-page-1#comment-3986</link>
		<dc:creator>ray</dc:creator>
		<pubDate>Sun, 17 May 2009 14:24:23 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2007/12/encryption-and-decryption-technique-in-php.html#comment-3986</guid>
		<description>banu, I&#039;m not an expert but since no-one else has replied I&#039;ll make a couple of suggestions (please no-one bite my head off if they are naive!)..

Take a look at GPG (Gnu Privacy Guard free open source) from www.gnupg.org

Or failing that maybe there&#039;s a way to zip your files with passwords?  (just an off the cuff idea)</description>
		<content:encoded><![CDATA[<p>banu, I&#8217;m not an expert but since no-one else has replied I&#8217;ll make a couple of suggestions (please no-one bite my head off if they are naive!)..</p>
<p>Take a look at GPG (Gnu Privacy Guard free open source) from <a href="http://www.gnupg.org" rel="nofollow">http://www.gnupg.org</a></p>
<p>Or failing that maybe there&#8217;s a way to zip your files with passwords?  (just an off the cuff idea)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ray</title>
		<link>http://roshanbh.com.np/2008/01/encryption-and-decryption-technique-in-php.html/comment-page-1#comment-3981</link>
		<dc:creator>ray</dc:creator>
		<pubDate>Sat, 16 May 2009 16:42:00 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2007/12/encryption-and-decryption-technique-in-php.html#comment-3981</guid>
		<description>Anonamoose has indicated in quite strong terms that the use of MySQL&#039;s AES_ENCRYPT( )and AES_DECRYPT() functions is a very bad idea (although I personally see &quot;insanity&quot; and &quot;ignorance&quot; as very different conditions and consider myself to be suffering more from the latter than the former), but can anyone tell me why?  I appreciate that for password security hashing the password and comparing against hashed entered passwords is the sensible method, but what about encryption of email addresses, credit card details, etc etc.  Is the implication that use of AES_ENCRYPT() for this would also consitute a need for pyschiatric care?  I suppose I COULD try the suggestion of Googling for something like &quot;why-is-it-a-mad-idea-to-use-AES_ENCRYPT()&quot; but then I really think they would need to take me a way in a van!  Can anyone enlighten me?</description>
		<content:encoded><![CDATA[<p>Anonamoose has indicated in quite strong terms that the use of MySQL&#8217;s AES_ENCRYPT( )and AES_DECRYPT() functions is a very bad idea (although I personally see &#8220;insanity&#8221; and &#8220;ignorance&#8221; as very different conditions and consider myself to be suffering more from the latter than the former), but can anyone tell me why?  I appreciate that for password security hashing the password and comparing against hashed entered passwords is the sensible method, but what about encryption of email addresses, credit card details, etc etc.  Is the implication that use of AES_ENCRYPT() for this would also consitute a need for pyschiatric care?  I suppose I COULD try the suggestion of Googling for something like &#8220;why-is-it-a-mad-idea-to-use-AES_ENCRYPT()&#8221; but then I really think they would need to take me a way in a van!  Can anyone enlighten me?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ray</title>
		<link>http://roshanbh.com.np/2008/01/encryption-and-decryption-technique-in-php.html/comment-page-1#comment-3980</link>
		<dc:creator>ray</dc:creator>
		<pubDate>Sat, 16 May 2009 16:31:14 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2007/12/encryption-and-decryption-technique-in-php.html#comment-3980</guid>
		<description>Rajeskar, I&#039;m sure every hacker in the world would love to know how to do that.  But from what I&#039;ve gathered (and I&#039;m a &quot;kiddie&quot; at this) the whole point of using SHA1() is that it produces a hash or pseudo encrption of a string that CANNOT be decrypted.  Its not so much an encryption as a &quot;unique&quot; (and I use the word with caution as it may not always necessarilly be unique) aspect or representation of the string that created it., but holding no information as to exactly what the original string looked like or how to get back to it.  Its only use is to compare it against another hashed string to see if both hashes look like they probably (in fact &quot;almost&quot; certainly) came from the same original string (i.e. that the entered password is the same as the stored one) .</description>
		<content:encoded><![CDATA[<p>Rajeskar, I&#8217;m sure every hacker in the world would love to know how to do that.  But from what I&#8217;ve gathered (and I&#8217;m a &#8220;kiddie&#8221; at this) the whole point of using SHA1() is that it produces a hash or pseudo encrption of a string that CANNOT be decrypted.  Its not so much an encryption as a &#8220;unique&#8221; (and I use the word with caution as it may not always necessarilly be unique) aspect or representation of the string that created it., but holding no information as to exactly what the original string looked like or how to get back to it.  Its only use is to compare it against another hashed string to see if both hashes look like they probably (in fact &#8220;almost&#8221; certainly) came from the same original string (i.e. that the entered password is the same as the stored one) .</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Asylum</title>
		<link>http://roshanbh.com.np/2008/01/encryption-and-decryption-technique-in-php.html/comment-page-1#comment-3975</link>
		<dc:creator>Asylum</dc:creator>
		<pubDate>Fri, 15 May 2009 00:41:56 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2007/12/encryption-and-decryption-technique-in-php.html#comment-3975</guid>
		<description>md5 and sha are hash algorithms, not encryption. Here are a few PHP encryption functions.
crypt
mcrypt</description>
		<content:encoded><![CDATA[<p>md5 and sha are hash algorithms, not encryption. Here are a few PHP encryption functions.<br />
crypt<br />
mcrypt</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: banu</title>
		<link>http://roshanbh.com.np/2008/01/encryption-and-decryption-technique-in-php.html/comment-page-1#comment-3878</link>
		<dc:creator>banu</dc:creator>
		<pubDate>Wed, 22 Apr 2009 18:38:45 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2007/12/encryption-and-decryption-technique-in-php.html#comment-3878</guid>
		<description>Hi ,I am looking for a way to encrypt and decrypt a file that I&#039;m going to store on the filesystem. I am looking for something like base 64 encode. but base 64 doesnt use a  key to encode. I would like something that I can encode using key and decode using key. It should be able to encode and decode all kinds of files that I upload.

Any help would be really appreciated.

thanks,</description>
		<content:encoded><![CDATA[<p>Hi ,I am looking for a way to encrypt and decrypt a file that I&#8217;m going to store on the filesystem. I am looking for something like base 64 encode. but base 64 doesnt use a  key to encode. I would like something that I can encode using key and decode using key. It should be able to encode and decode all kinds of files that I upload.</p>
<p>Any help would be really appreciated.</p>
<p>thanks,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rajasekar</title>
		<link>http://roshanbh.com.np/2008/01/encryption-and-decryption-technique-in-php.html/comment-page-1#comment-3748</link>
		<dc:creator>Rajasekar</dc:creator>
		<pubDate>Fri, 03 Apr 2009 07:20:15 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2007/12/encryption-and-decryption-technique-in-php.html#comment-3748</guid>
		<description>I generated sha1() string in order to store a password in the table. But i want to know how to retrive back the original password as a normal string in order to send the password to the users who have submitted the forgotten request. I want to know is there any function that i can retireve the password in normal string form. coding done in PHP

 Please any one help me on this...</description>
		<content:encoded><![CDATA[<p>I generated sha1() string in order to store a password in the table. But i want to know how to retrive back the original password as a normal string in order to send the password to the users who have submitted the forgotten request. I want to know is there any function that i can retireve the password in normal string form. coding done in PHP</p>
<p> Please any one help me on this&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: the k</title>
		<link>http://roshanbh.com.np/2008/01/encryption-and-decryption-technique-in-php.html/comment-page-1#comment-3657</link>
		<dc:creator>the k</dc:creator>
		<pubDate>Sat, 14 Mar 2009 20:51:12 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2007/12/encryption-and-decryption-technique-in-php.html#comment-3657</guid>
		<description>What is it with people thinking applying a poor &quot;encryption&quot; multiple times makes it any less poor? Generally, if you don&#039;t see the flaws above commenters point out and understand what the big idea is, you might as well use no hashing at all and receive the same functionality and security with less work.</description>
		<content:encoded><![CDATA[<p>What is it with people thinking applying a poor &#8220;encryption&#8221; multiple times makes it any less poor? Generally, if you don&#8217;t see the flaws above commenters point out and understand what the big idea is, you might as well use no hashing at all and receive the same functionality and security with less work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kapil</title>
		<link>http://roshanbh.com.np/2008/01/encryption-and-decryption-technique-in-php.html/comment-page-1#comment-2454</link>
		<dc:creator>kapil</dc:creator>
		<pubDate>Wed, 17 Sep 2008 07:20:13 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2007/12/encryption-and-decryption-technique-in-php.html#comment-2454</guid>
		<description>Thankx.... i was looking for custom function.. to encryption and decryption.. its easy and usefull..

thankx SEO Expert..</description>
		<content:encoded><![CDATA[<p>Thankx&#8230;. i was looking for custom function.. to encryption and decryption.. its easy and usefull..</p>
<p>thankx SEO Expert..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bonafide</title>
		<link>http://roshanbh.com.np/2008/01/encryption-and-decryption-technique-in-php.html/comment-page-1#comment-1653</link>
		<dc:creator>Bonafide</dc:creator>
		<pubDate>Thu, 31 Jul 2008 13:19:50 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2007/12/encryption-and-decryption-technique-in-php.html#comment-1653</guid>
		<description>This IS a helpful article for beginners.
If you are one, expand on this simple technique. Mix it up a bit.

If you have any level of security concern, don&#039;t use this because its way too obvious.

Generally helpful comments on this site too - kudos</description>
		<content:encoded><![CDATA[<p>This IS a helpful article for beginners.<br />
If you are one, expand on this simple technique. Mix it up a bit.</p>
<p>If you have any level of security concern, don&#8217;t use this because its way too obvious.</p>
<p>Generally helpful comments on this site too &#8211; kudos</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 2/19 queries in 0.015 seconds using disk: basic
Object Caching 400/401 objects using disk: basic

Served from: roshanbh.com.np @ 2012-02-09 06:39:06 -->
