tweaking crypter class.

This commit is contained in:
Taylor Otwell
2011-08-22 22:25:12 -05:00
parent ce8c230e72
commit 8c226e9d67

View File

@@ -46,6 +46,11 @@ class Crypter {
/** /**
* Create a new Crypter instance. * Create a new Crypter instance.
* *
* Any cipher and mode supported by Mcrypt may be specified. For more information regarding
* the supported ciphers and modes, check out: http://php.net/manual/en/mcrypt.ciphers.php
*
* By default, the AES-256 cipher will be used in CBC mode.
*
* @param string $cipher * @param string $cipher
* @param string $mode * @param string $mode
* @param string $key * @param string $key
@@ -57,7 +62,7 @@ class Crypter {
} }
/** /**
* Encrypt a value using the MCrypt library. * Encrypt a string using Mcrypt.
* *
* @param string $value * @param string $value
* @return string * @return string
@@ -89,7 +94,7 @@ class Crypter {
} }
/** /**
* Decrypt a value using the MCrypt library. * Decrypt a string using Mcrypt.
* *
* @param string $value * @param string $value
* @return string * @return string