<?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>Wed, 10 Mar 2010 10:59:13 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<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>
	<item>
		<title>By: Dominus Chaos</title>
		<link>http://roshanbh.com.np/2008/01/encryption-and-decryption-technique-in-php.html/comment-page-1#comment-402</link>
		<dc:creator>Dominus Chaos</dc:creator>
		<pubDate>Wed, 27 Feb 2008 12:39:38 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2007/12/encryption-and-decryption-technique-in-php.html#comment-402</guid>
		<description>I&#039;ve found this tecnique somewhat usefull.
I&#039;m managing to get a password system with 2 parameters.( i could join 2 strings in one also)
it will be:

PASSWORD
input_key [oper] mac_address = reservible_pswd.
if i wanna install in other machine i&#039;ll only have to calculate a new input_key (will be outputed) to give the save reservible_pswd with the new mac_adress.

i can then STORE data in database with base64 and\or gzdeflate and somehow with the reservible_password.

them i can keep the reversible password HASHED in a file.

sorry for my bad english.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve found this tecnique somewhat usefull.<br />
I&#8217;m managing to get a password system with 2 parameters.( i could join 2 strings in one also)<br />
it will be:</p>
<p>PASSWORD<br />
input_key [oper] mac_address = reservible_pswd.<br />
if i wanna install in other machine i&#8217;ll only have to calculate a new input_key (will be outputed) to give the save reservible_pswd with the new mac_adress.</p>
<p>i can then STORE data in database with base64 and\or gzdeflate and somehow with the reservible_password.</p>
<p>them i can keep the reversible password HASHED in a file.</p>
<p>sorry for my bad english.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonamoose</title>
		<link>http://roshanbh.com.np/2008/01/encryption-and-decryption-technique-in-php.html/comment-page-1#comment-363</link>
		<dc:creator>Anonamoose</dc:creator>
		<pubDate>Sun, 17 Feb 2008 20:17:41 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2007/12/encryption-and-decryption-technique-in-php.html#comment-363</guid>
		<description>Roshan I appreciate you want to help beginners and hope you do continue, but my fear is by &#039;dumbing down&#039; some of the aspects you harm them in the long term. For instance the poster who sugested using the MySQL functions, you would have to be insane to do this if you want an even remotely secure application. Also look at the people linking your article, they do not question if it is safe or even the proper way of doing it, this is insane for security, if you don&#039;t understand it don&#039;t do it!.
Hashing should always be &#039;salted&#039; (not mentioned in the article) once again the removal of complexity to make it easier to follow also removes some of the security given by this technique. I do not mean to pick on you personally, it&#039;s just I found your article and had some time to spare.</description>
		<content:encoded><![CDATA[<p>Roshan I appreciate you want to help beginners and hope you do continue, but my fear is by &#8216;dumbing down&#8217; some of the aspects you harm them in the long term. For instance the poster who sugested using the MySQL functions, you would have to be insane to do this if you want an even remotely secure application. Also look at the people linking your article, they do not question if it is safe or even the proper way of doing it, this is insane for security, if you don&#8217;t understand it don&#8217;t do it!.<br />
Hashing should always be &#8217;salted&#8217; (not mentioned in the article) once again the removal of complexity to make it easier to follow also removes some of the security given by this technique. I do not mean to pick on you personally, it&#8217;s just I found your article and had some time to spare.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roshan</title>
		<link>http://roshanbh.com.np/2008/01/encryption-and-decryption-technique-in-php.html/comment-page-1#comment-344</link>
		<dc:creator>Roshan</dc:creator>
		<pubDate>Thu, 14 Feb 2008 04:40:47 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2007/12/encryption-and-decryption-technique-in-php.html#comment-344</guid>
		<description>Anonamoose i agree with you. Encryption is different  than hashing and encoding in the book of cryptography. But this article is mainly for the beginners and my objective is to convert the password into unreadable format. If you look at the basic meaning of encryption in dictionary
http://dictionary.reference.com/browse/encryption
which refer it as &quot;to encipher or encode.&quot;. So we think we need to complain dictionary to remove that meaning. Isn&#039;t it ??</description>
		<content:encoded><![CDATA[<p>Anonamoose i agree with you. Encryption is different  than hashing and encoding in the book of cryptography. But this article is mainly for the beginners and my objective is to convert the password into unreadable format. If you look at the basic meaning of encryption in dictionary<br />
<a href="http://dictionary.reference.com/browse/encryption" rel="nofollow">http://dictionary.reference.com/browse/encryption</a><br />
which refer it as &#8220;to encipher or encode.&#8221;. So we think we need to complain dictionary to remove that meaning. Isn&#8217;t it ??</p>
]]></content:encoded>
	</item>
</channel>
</rss>
