diff options
author | Derek Allard <derek.allard@ellislab.com> | 2007-06-18 02:14:57 +0200 |
---|---|---|
committer | Derek Allard <derek.allard@ellislab.com> | 2007-06-18 02:14:57 +0200 |
commit | 5a94ae5be5d82cd033e316fdd8a38a605563bcb4 (patch) | |
tree | 894637e8f8d11d9b25042f44e87296cb9b0bc574 /user_guide/libraries/encryption.html | |
parent | 83ec240297a25342748846df84ad3c5ecb7cd623 (diff) |
typo in example
Diffstat (limited to 'user_guide/libraries/encryption.html')
-rw-r--r-- | user_guide/libraries/encryption.html | 4 |
1 files changed, 2 insertions, 2 deletions
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);</code> <h2>$this->encrypt->set_cipher();</h2>
<p>Permits you to set an Mcrypt cipher. By default it uses <samp>MCRYPT_RIJNDAEL_256</samp>. Example:
-<code>$this->encrypt->set_cipher('MCRYPT_BLOWFISH');</code>
+<code>$this->encrypt->set_cipher(MCRYPT_BLOWFISH);</code>
<p>Please visit php.net for a list of <a href="http://php.net/mcrypt">available ciphers</a>.</p>
<p>If you'd like to manually test whether your server supports Mcrypt you can use:</p>
@@ -151,7 +151,7 @@ $plaintext_string = $this->encrypt->decode($encrypted_string);</code> <h2>$this->encrypt->set_mode();</h2>
<p>Permits you to set an Mcrypt mode. By default it uses <samp>MCRYPT_MODE_ECB</samp>. Example:
-<code>$this->encrypt->set_mode('MCRYPT_MODE_CFB');</code>
+<code>$this->encrypt->set_mode(MCRYPT_MODE_CFB);</code>
<p>Please visit php.net for a list of <a href="http://php.net/mcrypt">available modes</a>.</p>
|