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 <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> 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
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> Tel: 973-249-6665
>
> __________________________________________________
> Do You Yahoo!?
> Great stuff seeking new owners in Yahoo! Auctions!
> http://auctions.yahoo.com



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to