Re: Encryption
| From: | Alan McFarlane | Date: | Sat, 26 Jan 2002 07:14:16 +0000 |
| Subject: | Re: Encryption | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-82203@lists.php.net to get a copy of this message | ||
As far as I'm aware, as long as you use the same seed or salt value,
encrypting material will always yield the same results. However, remember
that not all servers have support for mcrypt... You may find it better to
use something simpler like md5($seed . $data), where $seed is a unique (and
hireable) value that you have created.
Anas Mughal <anasmughal@yahoo.com> wrote in message
news:20020126030530.48299.qmail@web11205.mail.yahoo.com...
> I am totally new to encryption.
> My question is very simple.
> If I use the mcrypt module to encrypt and decrypt some
> data, would it guarantee to work consistently with
> future versions of the mcryp module (or PHP versions).
>
> (i.e. Would decription always give me the same
> result?)
>
> Thanks.
>
>
> =====
> Anas Mughal
> anasmughal@yahoo.com
> anasmughal@hotmail.com
> Tel: 973-249-6665
>
> __________________________________________________
> Do You Yahoo!?
> Great stuff seeking new owners in Yahoo! Auctions!
> http://auctions.yahoo.com