diff options
author | admin <devnull@localhost> | 2006-10-12 20:20:13 +0200 |
---|---|---|
committer | admin <devnull@localhost> | 2006-10-12 20:20:13 +0200 |
commit | 9fa003797d794a63aa58356926fac9649269c668 (patch) | |
tree | 513ad753d4d62bb21cbc93a09e48adb961da0d98 | |
parent | 572ed815e69fdd79bfc9cad63afcd370a4eba0aa (diff) |
-rw-r--r-- | system/libraries/Encrypt.php | 10 | ||||
-rw-r--r-- | user_guide/libraries/encryption.html | 8 |
2 files changed, 9 insertions, 9 deletions
diff --git a/system/libraries/Encrypt.php b/system/libraries/Encrypt.php index 50b3fab39..b7dba2523 100644 --- a/system/libraries/Encrypt.php +++ b/system/libraries/Encrypt.php @@ -272,15 +272,15 @@ class CI_Encrypt { // -------------------------------------------------------------------- /** - * Set the Mcrypt Cypher + * Set the Mcrypt Cipher * * @access public * @param constant * @return string */ - function set_cypher($cypher) + function set_cipher($cipher) { - $this->_mcrypt_cipher = $cypher; + $this->_mcrypt_cipher = $cipher; } // -------------------------------------------------------------------- @@ -300,12 +300,12 @@ class CI_Encrypt { // -------------------------------------------------------------------- /** - * Get Mcrypt Cypher Value + * Get Mcrypt cipher Value * * @access private * @return string */ - function _get_cypher() + function _get_cipher() { if ($this->_mcrypt_cipher == '') { 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';<br /> $plaintext_string = $this->encrypt->decode($encrypted_string);</code>
-<h2>$this->encrypt->set_cypher();</h2>
+<h2>$this->encrypt->set_cipher();</h2>
-<p>Permits you to set an Mcrypt cypher. By default it uses <samp>MCRYPT_RIJNDAEL_256</samp>. Example:
-<code>$this->encrypt->set_cypher('MCRYPT_BLOWFISH');</code>
-<p>Please visit php.net for a list of <a href="http://php.net/mcrypt">available cyphers</a>.</p>
+<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>
+<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>
<code>echo ( ! function_exists('mcrypt_encrypt')) ? 'Nope' : 'Yup';</code>
|