From 5a94ae5be5d82cd033e316fdd8a38a605563bcb4 Mon Sep 17 00:00:00 2001 From: Derek Allard Date: Mon, 18 Jun 2007 00:14:57 +0000 Subject: typo in example --- user_guide/libraries/encryption.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'user_guide/libraries') diff --git a/user_guide/libraries/encryption.html b/user_guide/libraries/encryption.html index 6f020a692..7c6f909b2 100644 --- a/user_guide/libraries/encryption.html +++ b/user_guide/libraries/encryption.html @@ -141,7 +141,7 @@ $plaintext_string = $this->encrypt->decode($encrypted_string);

$this->encrypt->set_cipher();

Permits you to set an Mcrypt cipher. By default it uses MCRYPT_RIJNDAEL_256. Example: -$this->encrypt->set_cipher('MCRYPT_BLOWFISH'); +$this->encrypt->set_cipher(MCRYPT_BLOWFISH);

Please visit php.net for a list of available ciphers.

If you'd like to manually test whether your server supports Mcrypt you can use:

@@ -151,7 +151,7 @@ $plaintext_string = $this->encrypt->decode($encrypted_string);

$this->encrypt->set_mode();

Permits you to set an Mcrypt mode. By default it uses MCRYPT_MODE_ECB. Example: -$this->encrypt->set_mode('MCRYPT_MODE_CFB'); +$this->encrypt->set_mode(MCRYPT_MODE_CFB);

Please visit php.net for a list of available modes.

-- cgit v1.2.3-24-g4f1b