From 9fa003797d794a63aa58356926fac9649269c668 Mon Sep 17 00:00:00 2001 From: admin Date: Thu, 12 Oct 2006 18:20:13 +0000 Subject: --- user_guide/libraries/encryption.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'user_guide') diff --git a/user_guide/libraries/encryption.html b/user_guide/libraries/encryption.html index df5c6eb60..3a774e2c7 100644 --- a/user_guide/libraries/encryption.html +++ b/user_guide/libraries/encryption.html @@ -138,11 +138,11 @@ $encrypted_string = 'APANtByIGI1BpVXZTJgcsAG8GZl8pdwwa84';
$plaintext_string = $this->encrypt->decode($encrypted_string); -

$this->encrypt->set_cypher();

+

$this->encrypt->set_cipher();

-

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

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

+

Permits you to set an Mcrypt cipher. By default it uses MCRYPT_RIJNDAEL_256. Example: +$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:

echo ( ! function_exists('mcrypt_encrypt')) ? 'Nope' : 'Yup'; -- cgit v1.2.3-24-g4f1b