From 2e30641caa50fe66ee29a9eaeb10a19432fd007c Mon Sep 17 00:00:00 2001 From: Sam Tuke Date: Thu, 10 Jan 2013 18:19:37 +0000 Subject: [PATCH] Removed misleading crypto gen comment --- apps/files_encryption/lib/crypt.php | 2 -- 1 file changed, 2 deletions(-) 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 ) ) ) { -- 2.39.5