From: Sam Tuke Date: Thu, 10 Jan 2013 18:19:37 +0000 (+0000) Subject: Removed misleading crypto gen comment X-Git-Tag: v5.0.0alpha1~208^2~6 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=2e30641caa50fe66ee29a9eaeb10a19432fd007c;p=nextcloud-server.git Removed misleading crypto gen comment --- diff --git a/apps/files_encryption/lib/crypt.php b/apps/files_encryption/lib/crypt.php index 96176210bf1..fddc89dae54 100755 --- a/apps/files_encryption/lib/crypt.php +++ b/apps/files_encryption/lib/crypt.php @@ -601,8 +601,6 @@ class Crypt { */ public static function generateKey() { - // $key = mt_rand( 10000, 99999 ) . mt_rand( 10000, 99999 ) . mt_rand( 10000, 99999 ) . mt_rand( 10000, 99999 ); - // Generate key if ( $key = base64_encode( openssl_random_pseudo_bytes( 183, $strong ) ) ) {