MCrypt examples - Please help
| From: | Matt Friedman | Date: | Sat, 04 Nov 2000 22:03:49 +0000 |
| Subject: | MCrypt examples - Please help | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-23733@lists.php.net to get a copy of this message | ||
Hi,
I've tried the examples on php.net regarding mcrypt but I just got errors.
Mcrypt is installed on the server.
Does anyone have any examples of how to use mcrypt?
Really, I'd just like to create a short library of functions, like
mc_encode() and mc_decode() etc...
Any help would be appreciated.
Thanks!
matt.
here's the phpinfo() information on mcrypt on my server:
----------------------------------------------------------------------------
--------------
mcrypt
mcrypt supportenabled
version2.4.x
Supported cipherstwofish wake rijndael-128 rijndael-192 rijndael-256
saferplus rc2 xtea serpent safer-sk64 safer-sk128 cast-256 loki97 gost
threeway cast-128 blowfish des tripledes enigma arcfour arcfour-iv panama
Supported modesofb cfb nofb cbc ecb stream
Directive Local Value Master Value
mcrypt.algorithms_dir no value no value
mcrypt.modes_dir no value no value
----------------------------------------------------------------------------
--------------