From 8c226e9d67dfc292995f8cc2d6b8d288efb8f732 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Mon, 22 Aug 2011 22:25:12 -0500 Subject: [PATCH] tweaking crypter class. --- laravel/crypter.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/laravel/crypter.php b/laravel/crypter.php index ec72c5c6..7bcd3ab1 100644 --- a/laravel/crypter.php +++ b/laravel/crypter.php @@ -46,6 +46,11 @@ public function __construct($cipher, $mode, $key) /** * 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 $mode * @param string $key @@ -57,7 +62,7 @@ public static function make($cipher = MCRYPT_RIJNDAEL_256, $mode = 'cbc', $key = } /** - * Encrypt a value using the MCrypt library. + * Encrypt a string using Mcrypt. * * @param string $value * @return string @@ -89,7 +94,7 @@ protected function randomizer() } /** - * Decrypt a value using the MCrypt library. + * Decrypt a string using Mcrypt. * * @param string $value * @return string