Re: [PHP] Re: Encryption

2004-12-21 Thread Darren Wheatley
Richard, Thanks for your help. The code (as I mentioned) was not mine. I did however find the example from the link you sent me to and followed that. It works quite well. Again, thanks for your time. Darren "Richard Lynch" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > >> I hav

Re: [PHP] Re: Encryption

2004-12-21 Thread Richard Lynch
>> I have found some code and set up a test bed for it, but it fails to > return >> the same value after the 26th item. I was hoping someone could take a >> look >> and maybe tell me why? There is very little help out there for >> encryption. >> If you know of a working example/tutorial, can you pl

[PHP] Re: Encryption

2004-12-20 Thread Darren Wheatley
If nobody has a better suggestion I am simply going to do a reverse check and for those that fail implement a massive hack. I really don't want to do that... Please, if you have any ideas give me a yell? D "Darren Wheatley" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hey all. >

[PHP] Re: encryption needed?

2004-07-13 Thread Kim Steinhaug
if there is a system of your id's, like 1.. 2... 3... 4.. and such, you should consider obfuscating the id's. Especially if you dont have any form of login system that serve the client the id they want. What you really should consider is having a login system that after the user is logged in you s

[PHP] Re: Encryption Question

2004-06-22 Thread Kim Steinhaug
Do you really need to use stripslashes when retrieving the data? Wouldnt stripslashes only affect magic quotes or already added slashes, I mean when you addslashes to the SQL the slashes are indeed removed when inserted in the table. -- -- Kim Steinhaug

Re: [PHP] Re: Encryption Question

2004-06-22 Thread Justin Patrin
Jay Blanchard wrote: [snip] You should probably use mysql_escape_string or mysql_real_escape_string instead of addslashes and stripslashes. IMHO addslashes and stripslashes are pretty much useless. [/snip] That is an interesting take, why so? Because it can easily cause more problems than it fixe

RE: [PHP] Re: Encryption Question

2004-06-22 Thread Jay Blanchard
[snip] You should probably use mysql_escape_string or mysql_real_escape_string instead of addslashes and stripslashes. IMHO addslashes and stripslashes are pretty much useless. [/snip] That is an interesting take, why so? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Re: Encryption Question

2004-06-22 Thread Justin Patrin
Jay Blanchard wrote: Good morning gurus! I am encrypting some data on one server and now I am attempting to decrypt on another server using mcrypt_encrypt and mycrypt_decrypt (using same key and initialzation vector). It is almost working but I seem to still have a little problem, that data is m

[PHP] Re: Encryption of emails.

2002-09-04 Thread Manuel Lemos
Hello, On 09/05/2002 02:29 AM, Bob Irwin wrote: > Hey guys, > > Can anyone recommend any PHP functions or plugins that will allow me to send > encrypted emails via PHP? Something similar to PGP would be excellent. I > have use PGP with a formmail cgi previously, but obviously it'd be easier to

[PHP] Re: encryption code in php

2002-07-02 Thread Richard Lynch
>Never mind! It took me all day to find out what the problem is. It turned >out that PHP use $SSL_PROTOCOL, $SSL_CIPHER_USEKEYSIZE, etc. It is >displayed automatically when the register_global is turned on. With some >research, found out that it is part of Mod_SSL where PHP use it from. Yet,

[PHP] Re: encryption and HTTP

2002-02-24 Thread Murray Chamberlain
Yeah the idea of php md5() hash is for data integrity, by taking a hash of some data and taking a hash of it later, allows you to compare the results and see if the data hash been changed, such as a database value. You have to use some form of client side technology to pass variables encrypted. e

[PHP] Re: Encryption

2002-01-25 Thread Alan McFarlane
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 hirea