note 19965 added to ref.mcrypt

From: Date: Sun, 17 Mar 2002 00:13:48 +0000
Subject: note 19965 added to ref.mcrypt
Groups: php.notes 
Request: Send a blank email to php-notes+get-27868@lists.php.net to get a copy of this message
if you download http://download.sloppycode.net/?d=3 you can use rc4 encryption with PHP 4.*.* on windows. <br> regester the dll by going to the directory and typing (regsvr32 rc4dll.dll) <br> use <br> <? $RC4 = new COM("RC4DLL.Crypt") or die("Unable to load RC4"); echo "(Hello World) encrypted with (My Key) as the key"; echo $RC4->EnCrypt("Hello World","My Key"); echo "\n"; echo "(xú+Ó0°Ð±) encrypted with (My Key) as the key"; echo $RC4->EnCrypt("1óN\ë-®Ø","My Key"); ?> -- http://www.php.net/manual/en/ref.mcrypt.php http://master.php.net/manage/user-notes.php?action=edit+19965 http://master.php.net/manage/user-notes.php?action=delete+19965 http://master.php.net/manage/user-notes.php?action=reject+19965

« previous php.notes (#27868) next »