MD5 is a hash, not encryption. It is one way.<br><br><div class="gmail_quote">On Tue, Feb 3, 2009 at 3:26 PM, Steve Kessler <span dir="ltr">&lt;<a href="mailto:skessler@denverdataman.com">skessler@denverdataman.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I am a little confused. How is this done with passwords using MD5? I would<br>
happy with MD5 encryption. I would love to understand this if I am missing<br>
something.<br>
<div class="Ih2E3d"><br>
Thanks,<br>
Steve<br>
<br>
Steve Kessler<br>
Denver DataMan<br>
303-587-4428<br>
Sign up for the Denver DataMan Free eNewsletter<br>
<br>
<br>
</div><div><div></div><div class="Wj3C7c">-----Original Message-----<br>
From: Gordon Heydon [mailto:<a href="mailto:gordon@heydon.com.au">gordon@heydon.com.au</a>]<br>
Sent: Tuesday, February 03, 2009 4:05 PM<br>
To: <a href="mailto:support@drupal.org">support@drupal.org</a><br>
Subject: Re: [support] Encrypting CCK Data<br>
<br>
HI,<br>
<br>
Because of how PHP works is is not really possible to encrypt data<br>
within the Drupal database.<br>
<br>
basically the problem is that to encrypt and decrypt the data you will<br>
need the private key, so any person who wants to find decrypt the data<br>
will most likely have full access to the private key and all the code<br>
to decrypt it. Even to the point of just calling directly the same php<br>
code to get the get the clear text.<br>
<br>
I would love to be able to do this for e-Commerce, but there is no way<br>
to keep it 100% safe. If they have access to the database, the rest is<br>
available to get the clear text version.<br>
<br>
Gordon.<br>
<br>
On 04/02/2009, at 5:56 AM, Steve Kessler wrote:<br>
<br>
&gt; I am trying to make a site that will hold some sensitive information<br>
&gt; that I would like to have at least minimal encryption on some of my<br>
&gt; CCK fields. Is there an easy way to encrypt CCK text fields? I would<br>
&gt; need to display the un-encrypted values when the nodes were viewed<br>
&gt; by users with the correct permissions.<br>
&gt;<br>
&gt; Thanks,<br>
&gt; Steve<br>
&gt;<br>
&gt;<br>
&gt; Steve Kessler<br>
&gt; Denver DataMan<br>
&gt; 303-587-4428<br>
&gt; Sign up for the Denver DataMan Free eNewsletter<br>
&gt;<br>
&gt; --<br>
&gt; [ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
<br>
--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
<br>
</div></div>--<br>
<div><div></div><div class="Wj3C7c">[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
</div></div></blockquote></div><br>